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

Connectivity create (by cutting nodes) is not functioning for Connectivities with missing optional attributes (e.g. area)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5
    • Component/s: None
    • Labels:
      None
    • Environment:
      cluster

      Description

      2016-01-20 11:15:51,925 - ERROR [node:n18]  - tvb.core.operation_async_launcher - index 42 is out of bounds for size 0
      Traceback (most recent call last):
        File "/home/tvbadmin/TVB_Distribution/tvb_data/lib/python2.7/site-packages/tvb/core/operation_async_launcher.py", line 81, in do_operation_launch
          OperationService().initiate_prelaunch(curent_operation, adapter_instance, {}, **PARAMS)
        File "/home/tvbadmin/TVB_Distribution/tvb_data/lib/python2.7/site-packages/tvb/core/services/operation_service.py", line 360, in initiate_prelaunch
          self._handle_exception(excep1, temp_files, msg, operation)
        File "/home/tvbadmin/TVB_Distribution/tvb_data/lib/python2.7/site-packages/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 "/home/tvbadmin/TVB_Distribution/tvb_data/lib/python2.7/site-packages/tvb/core/adapters/abcadapter.py", line 92, in new_function
          return func(*args, **kw)
        File "/home/tvbadmin/TVB_Distribution/tvb_data/lib/python2.7/site-packages/tvb/core/adapters/abcadapter.py", line 283, in _prelaunch
          result = self.launch(**kwargs)
        File "/home/tvbadmin/TVB_Distribution/tvb_data/lib/python2.7/site-packages/tvb/adapters/creators/connectivity_creator.py", line 85, in launch
          new_weights, interest_area_indexes, self.storage_path, new_tracts)
        File "/home/tvbadmin/TVB_Distribution/tvb_data/lib/python2.7/site-packages/tvb/datatypes/connectivity_framework.py", line 153, in cut_new_connectivity_from_ordered_arrays
          return self.cut_connectivity(new_weights, interest_areas, storage_path, new_tracts)
        File "/home/tvbadmin/TVB_Distribution/tvb_data/lib/python2.7/site-packages/tvb/datatypes/connectivity_framework.py", line 115, in cut_connectivity
          final_conn.areas = self.areas[interest_areas]
      IndexError: index 42 is out of bounds for size 0
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                lia.domide Lia Domide
                Reporter:
                tester TVB Testing environment
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 30 minutes Time Not Required
                  1h 30m