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

Cannot visualize TimeSeriesSurface with BOLD ROI monitor

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4
    • None
    • VBC Sprint 13
    • 8.2 Pipeline Integration

    Description

      Steps to reproduce: setup a surface simulation and a BOLD ROI monitor for it. The resulted time series have 2 dimensions, while our viewers expect 4. This was a problem in TVB 1.5.8 as well.

      2021-05-13 08:14:41,887 - ERROR - tvb.interface.web.controllers.decorators - An unexpected exception appeared
      Traceback (most recent call last):
        File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/interfaces/web/controllers/decorators.py", line 153, in deco
          return func(*a, **b)
        File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/interfaces/web/controllers/decorators.py", line 81, in deco
          template_dict = func(*a, **b)
        File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/interfaces/web/controllers/decorators.py", line 200, in deco
          return func(*a, **b)
        File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/interfaces/web/controllers/decorators.py", line 272, in deco
          return func(*a, **b)
        File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/interfaces/web/controllers/decorators.py", line 257, in deco
          return func(*a, **b)
        File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/interfaces/web/controllers/flow_controller.py", line 228, in default
          template_specification = self.execute_post(project.id, submit_link, step_key, algorithm, **data)
        File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/interfaces/web/controllers/flow_controller.py", line 305, in execute_post
          result = adapter_instance.launch(view_model)
        File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/adapters/visualizers/brain.py", line 168, in launch
          params = self.compute_parameters(time_series_index, shell_surface_index)
        File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/adapters/visualizers/brain.py", line 267, in compute_parameters
          labelsModes=list(range(time_series.data_length_4d)), extended_view=False,
      TypeError: 'NoneType' object cannot be interpreted as an integer
      

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                robert.vincze Robert Francisc Vincze
                paula.popa Paula Prodan
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - 2 days
                    2d
                    Remaining:
                    Time Spent - 1 day, 2 hours Remaining Estimate - 6 hours
                    6h
                    Logged:
                    Time Spent - 1 day, 2 hours Remaining Estimate - 6 hours
                    1d 2h