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

Fix display of overlay for Surface/RegionMapping

    XMLWordPrintable

    Details

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

      Description

      When I click on a Surface or a RegionMapping, I get a server error and the overlay is never displayed in GUI:

      Traceback (most recent call last):
       File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/interfaces/web/controllers/decorators.py", line 147, in deco
       return func(*a, **b)
       File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/interfaces/web/controllers/decorators.py", line 78, in deco
       template_dict = func(*a, **b)
       File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/interfaces/web/controllers/decorators.py", line 193, in deco
       return func(*a, **b)
       File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/interfaces/web/controllers/project/project_controller.py", line 344, in get_datatype_details
       categories, has_operations_warning = self.flow_service.get_launchable_algorithms(datatype_gid)
       File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/services/flow_service.py", line 242, in get_launchable_algorithms
       datatype_instance, filtered_adapters, has_operations_warning = self._get_launchable_algorithms(datatype_gid, categories)
       File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/services/flow_service.py", line 262, in _get_launchable_algorithms
       return self.get_launchable_algorithms_for_datatype(datatype_instance, categories)
       File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/services/flow_service.py", line 282, in get_launchable_algorithms_for_datatype
       if not filter_chain or filter_chain.get_python_filter_equivalent(datatype):
       File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/entities/filters/chain.py", line 235, in get_python_filter_equivalent
       'input_to_check.', '')))
      tvb.core.entities.filters.exceptions.InvalidFilterChainInput: On <DataType(3, 6f246663030d4dd3affaad9df6d47c53, SurfaceIndex, tvb.adapters.datatypes.db.surface, John Doe, RAW_DATA, None, Face, , , , )> filtered attribute $$DATATYPE_INPUT$$.ndim is missing.
      2020-05-04 11:38:41,912 - ERROR - tvb.interface.web.controllers.decorators - An unexpected exception appeared
      Traceback (most recent call last):
       File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/entities/filters/chain.py", line 231, in get_python_filter_equivalent
       my_filter = eval(my_filter)
       File "<string>", line 1, in <module>
      AttributeError: 'SurfaceIndex' object has no attribute 'ndim'
      

      Some changes regarding ndim field have been recently done in task TVB-2656
      We should ensure the overlay works for all datatypes.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              lia.domide Lia Domide
              Reporter:
              paula.popa Paula Popa
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 Time Not Required
                  2h