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

BOLD doesn't handle len(voi)>1

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • None
    • 1.5
    • None
    • None

    Description

      Configure a new simulation:

      • Stefanescu Jirsa 3D
      • BOLD monitor

      The following error is thrown:

      2015-10-15 09:44:36,953 - ERROR [proc:26589]  - tvb.core.operation_async_launcher - index 1 is out of bounds for axis 0 with size 1
      Traceback (most recent call last):
        File "/WORK/TVB/tvb-root/framework_tvb/tvb/core/operation_async_launcher.py", line 81, in do_operation_launch
          OperationService().initiate_prelaunch(curent_operation, adapter_instance, {}, **PARAMS)
        File "/WORK/TVB/tvb-root/framework_tvb/tvb/core/services/operation_service.py", line 360, in initiate_prelaunch
          self._handle_exception(excep1, temp_files, msg, operation)
        File "/WORK/TVB/tvb-root/framework_tvb/tvb/core/services/operation_service.py", line 338, in initiate_prelaunch
          result_msg, nr_datatypes = adapter_instance._prelaunch(operation, unique_id, available_space, **params)
        File "/WORK/TVB/tvb-root/framework_tvb/tvb/core/adapters/abcadapter.py", line 92, in new_function
          return func(*args, **kw)
        File "/WORK/TVB/tvb-root/framework_tvb/tvb/core/adapters/abcadapter.py", line 284, in _prelaunch
          result = self.launch(**kwargs)
        File "/WORK/TVB/tvb-root/framework_tvb/tvb/adapters/simulator/simulator_adapter.py", line 289, in launch
          for result in self.algorithm(simulation_length=simulation_length):
        File "/WORK/TVB/tvb-root/scientific_library/tvb/simulator/simulator.py", line 479, in __call__
          output = [monitor.record(step, state) for monitor in self.monitors]
        File "/WORK/TVB/tvb-root/scientific_library/tvb/simulator/monitors.py", line 331, in record
          return mt.apply_post(sample)
        File "/WORK/TVB/tvb-root/scientific_library/tvb/simulator/monitors.py", line 182, in apply_post
          ns[inkey] = sample[i]
      IndexError: index 1 is out of bounds for axis 0 with size 1
      

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                marmaduke.woodman Marmaduke Woodman
                tester TVB Testing environment (Inactive)
                Votes:
                2 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

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