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

Fix TimeSeriesVolumeVisualiser

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2
    • Component/s: None
    • Labels:
      None

      Description

      I have a RegionVolumeMapping in the project that is linked to the Connectivity I am simulating. The resulted TimeSeriesRegion has the flag "has_volume_mapping" set correctly.
      Still, an exception is thrown when I am trying to visualize it with TimeSeriesVolumeVisualiser:

      2021-02-17 16:23:44,566 - 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 229, 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 307, in execute_post
          result = adapter_instance.launch(view_model)
        File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/adapters/visualizers/time_series_volume.py", line 121, in launch
          volume = self.load_traited_by_gid(ts_h5.volume.load())
      AttributeError: 'TimeSeriesRegionH5' object has no attribute 'volume'
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              robert.vincze Robert Francisc Vincze
              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 - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 7 hours Time Not Required
                  7h