Uploaded image for project: 'The Virtual Brain'
  1. The Virtual Brain
  2. TVB-2539

Fourier Visualizer throws "index out of bounds" exc on TSEEG

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      tvb web gui
    • Epic Link:
    • Sprint:
      TVB 2.1
    • TVB-C Task:
      8.2 Pipeline Integration

      Description

      Run a Simulation with EEG Monitor, to produce a TimeSeriesEEG result of a decent length (> 100 time steps)

      Launch Fourier Analyzer on the TimeSeriesEEG.

      Launch Fourier Visualizer on the result. It should work.

      In version 1.5.* it thrown "index out of bounds exception" because TimeSeriesEEG does not have state variables. We should support the lack of SV in Fourier visualizer

      2019-11-13 01:02:18,666 - ERROR - tvb.core.services.operation_service - Could not launch Operation with the given input data!
      Traceback (most recent call last):
        File "/home/tvb/TVB_Distribution/tvb_data/lib/python2.7/site-packages/tvb/core/services/operation_service.py", line 333, in initiate_prelaunch
          result_msg, nr_datatypes = adapter_instance._prelaunch(operation, unique_id, available_space, **params)
        File "/home/tvb/TVB_Distribution/tvb_data/lib/python2.7/site-packages/tvb/core/adapters/abcdisplayer.py", line 77, in _prelaunch
          return self.launch(**kwargs), 0
        File "/home/tvb/TVB_Distribution/tvb_data/lib/python2.7/site-packages/tvb/adapters/visualizers/fourier_spectrum.py", line 87, in launch
          state_variable=state_list[0],
      IndexError: list index out of range
      2019-11-13 01:02:18,742 - ERROR - tvb.core.services.flow_service - Could not launch operation FourierSpectrumDisplay with the given set of input data!
      Traceback (most recent call last):
        File "/home/tvb/TVB_Distribution/tvb_data/lib/python2.7/site-packages/tvb/core/services/flow_service.py", line 175, in fire_operation
          tmp_folder, visible, **data)
        File "/home/tvb/TVB_Distribution/tvb_data/lib/python2.7/site-packages/tvb/core/services/operation_service.py", line 152, in initiate_operation
          return self.initiate_prelaunch(operations[0], adapter_instance, temp_files, **kwargs)
        File "/home/tvb/TVB_Distribution/tvb_data/lib/python2.7/site-packages/tvb/core/services/operation_service.py", line 355, in initiate_prelaunch
          self._handle_exception(excep1, temp_files, msg, operation)
        File "/home/tvb/TVB_Distribution/tvb_data/lib/python2.7/site-packages/tvb/core/services/operation_service.py", line 333, in initiate_prelaunch
          result_msg, nr_datatypes = adapter_instance._prelaunch(operation, unique_id, available_space, **params)
        File "/home/tvb/TVB_Distribution/tvb_data/lib/python2.7/site-packages/tvb/core/adapters/abcdisplayer.py", line 77, in _prelaunch
          return self.launch(**kwargs), 0
        File "/home/tvb/TVB_Distribution/tvb_data/lib/python2.7/site-packages/tvb/adapters/visualizers/fourier_spectrum.py", line 87, in launch
          state_variable=state_list[0],
      IndexError: list index out of range
      

       

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                robert.vincze Robert Francisc Vincze
                Reporter:
                lia.domide Lia Domide
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 2 hours Original Estimate - 2 hours
                    2h
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 1 day, 4 hours
                    1d 4h