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

Fix PSE Isocline Visualizer

    XMLWordPrintable

    Details

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

      Description

      For example I launched a simulation with PSE with the range parameters shown in the attached screenshot. When I click on the Isocline Visualizer, I get this error in PyCharm:

      Traceback (most recent call last):
       File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\decorators.py", line 147, in deco
       return func(*a, **b)
       File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\decorators.py", line 78, in deco
       template_dict = func(*a, **b)
       File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\decorators.py", line 193, in deco
       return func(*a, **b)
       File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\decorators.py", line 238, in deco
       return func(*a, **b)
       File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\decorators.py", line 223, in deco
       return func(*a, **b)
       File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\flow_controller.py", line 213, in default
       template_specification = self.execute_post(project.id, submit_link, step_key, algorithm, **data)
       File "d:\tvb\tvb-root\framework_tvb\tvb\interfaces\web\controllers\flow_controller.py", line 478, in execute_post
       result = adapter_instance.launch(view_model)
       File "d:\tvb\tvb-root\framework_tvb\tvb\adapters\visualizers\pse_isocline.py", line 271, in launch
       params = self.get_metric_matrix(datatype_group_index)
       File "d:\tvb\tvb-root\framework_tvb\tvb\adapters\visualizers\pse_isocline.py", line 221, in get_metric_matrix
       self.model = PseIsoModel.from_db(datatype_group.fk_operation_group)
       File "d:\tvb\tvb-root\framework_tvb\tvb\adapters\visualizers\pse_isocline.py", line 80, in from_db
       self._fill_apriori_data(operations)
       File "d:\tvb\tvb-root\framework_tvb\tvb\adapters\visualizers\pse_isocline.py", line 122, in _fill_apriori_data
       index_x = self.range1.index(key_1)
      ValueError: 0.0 is not in list
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              robert.vincze Robert Francisc Vincze
              Reporter:
              robert.vincze Robert Francisc Vincze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours, 30 minutes
                  5h 30m