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

Fix Complex Coherence Analyzer after upgrade of numpy

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.3
    • Fix Version/s: 1.5.4
    • Component/s: None
    • Labels:
      None
    • Epic Link:
    • Sprint:
      1.5.4 - GSOC & Internship 2017

      Description

      We get errors when trying to launch Complex Coherence Analyzer with TVB 1.5.3

      Traceback (most recent call last):
        File "/WORK/TVB/tvb-root/framework_tvb/tvb/core/services/operation_service.py", line 332, 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 89, in new_function
          return func(*args, **kw)
        File "/WORK/TVB/tvb-root/framework_tvb/tvb/core/adapters/abcadapter.py", line 317, in _prelaunch
          result = self.launch(**kwargs)
        File "/WORK/TVB/tvb-root/framework_tvb/tvb/adapters/analyzers/node_complex_coherence_adapter.py", line 144, in launch
          partial_result = self.algorithm.evaluate()
        File "/WORK/TVB/tvb-root/scientific_library/tvb/analyzers/node_complex_coherence.py", line 241, in evaluate
          cs = numpy.zeros(result_shape, dtype=numpy.complex128)
      TypeError: 'numpy.float64' object cannot be interpreted as an index
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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