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

Ensure correct viewers are displayed in overlay for ConnectivityMeasure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.3
    • Fix Version/s: 2.0.5
    • Component/s: None
    • Labels:
      None
    • Epic Link:
    • Sprint:
      VBC 5
    • TVB-C Task:
      8.2 Pipeline Integration

      Description

      I run a BCT CentralityAnalyzer and get the ConnectivityMeasure. But when I try to visualize it, the overlay lets me choose between Connectivity Measure Surface Visualiser and Topographic Visualizer. They both throw an exception for this datatype.

      For the first one:

      File "/home/tvb_user/tvb-root/framework_tvb/tvb/interfaces/web/controllers/decorators.py", line 147, in deco
          return func(*a, **b)
        File "/home/tvb_user/tvb-root/framework_tvb/tvb/interfaces/web/controllers/decorators.py", line 78, in deco
          template_dict = func(*a, **b)
        File "/home/tvb_user/tvb-root/framework_tvb/tvb/interfaces/web/controllers/decorators.py", line 193, in deco
          return func(*a, **b)
        File "/home/tvb_user/tvb-root/framework_tvb/tvb/interfaces/web/controllers/decorators.py", line 238, in deco
          return func(*a, **b)
        File "/home/tvb_user/tvb-root/framework_tvb/tvb/interfaces/web/controllers/decorators.py", line 223, in deco
          return func(*a, **b)
        File "/home/tvb_user/tvb-root/framework_tvb/tvb/interfaces/web/controllers/flow_controller.py", line 214, in default
          template_specification = self.execute_post(project.id, submit_link, step_key, algorithm, **data)
        File "/home/tvb_user/tvb-root/framework_tvb/tvb/interfaces/web/controllers/flow_controller.py", line 479, in execute_post
          result = adapter_instance.launch(view_model)
        File "/home/tvb_user/tvb-root/framework_tvb/tvb/adapters/visualizers/surface_view.py", line 556, in launch
          return SurfaceViewer.launch(self, surface_viewer_model)
        File "/home/tvb_user/tvb-root/framework_tvb/tvb/adapters/visualizers/surface_view.py", line 426, in launch
          params.update(self._compute_measure_param(cm_h5, params['noOfMeasurePoints']))
        File "/home/tvb_user/tvb-root/framework_tvb/tvb/adapters/visualizers/surface_view.py", line 391, in _compute_measure_param
          raise ValueError("connectivity measure must be 1 dimensional")
      ValueError: connectivity measure must be 1 dimensional
      

      On the demo installation, these 2 viewers are not shown. Maybe we are missing some filters.
      But, on demo we can choose between Array and Matrix viewers, while locally, those are not shown at all.

      For the ConnectivityMeasure generated by Degree BCT, the display is correct.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              adrian.dordea Adrian Dordea
              Reporter:
              paula.popa Paula Popa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 days Original Estimate - 2 days
                  2d
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days, 1 hour
                  3d 1h