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

Fix Tumor Dataset importer

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4
    • Component/s: None
    • Labels:
      None
    • Epic Link:
    • Sprint:
      VBC Sprint 13
    • TVB-C Task:
      6.3 SCAI Viewer Design

      Description

      Probably after changes related to tvb-storage, there is a bug affecting the tumor dataset importer:

      2021-09-24 10:00:53,084 - ERROR [proc:65776]  - tvb.core.services.operation_service - Could not launch Operation with the given input data!
      Traceback (most recent call last):
        File "/Users/pipeline/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/services/operation_service.py", line 243, in initiate_prelaunch
          result_msg, nr_datatypes = adapter_instance._prelaunch(operation, view_model, available_space)
        File "/Users/pipeline/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/adapters/abcadapter.py", line 90, in new_function
          return func(*args, **kw)
        File "/Users/pipeline/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/adapters/abcadapter.py", line 353, in _prelaunch
          result = self.launch(view_model)
        File "/Users/pipeline/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/adapters/creators/tumor_dataset_creator.py", line 261, in launch
          conn_gid = self.__import_tumor_connectivity(datatype_folder, patient, user_tag, self.storage_path)
      AttributeError: 'TumorDatasetCreator' object has no attribute 'storage_path'
      2021-09-24 10:00:53,088 - DEBUG [proc:65776]  - tvb.core.entities.storage.root_dao - We will store entity of type: Operation with id 35
      2021-09-24 10:00:53,096 - DEBUG [proc:65776]  - tvb.core.entities.storage.root_dao - After commit Operation ID is 35
      2021-09-24 10:00:53,130 - ERROR [proc:65776]  - tvb.core.operation_async_launcher - Could not execute operation 35
      2021-09-24 10:00:53,130 - ERROR [proc:65776]  - tvb.core.operation_async_launcher - 'TumorDatasetCreator' object has no attribute 'storage_path'
      Traceback (most recent call last):
        File "/Users/pipeline/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/operation_async_launcher.py", line 79, in do_operation_launch
          OperationService().initiate_prelaunch(curent_operation, adapter_instance)
        File "/Users/pipeline/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/services/operation_service.py", line 262, in initiate_prelaunch
          self._handle_exception(excep1, temp_files, msg, operation)
        File "/Users/pipeline/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/services/operation_service.py", line 319, in _handle_exception
          raise exception.with_traceback(
        File "/Users/pipeline/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/services/operation_service.py", line 243, in initiate_prelaunch
          result_msg, nr_datatypes = adapter_instance._prelaunch(operation, view_model, available_space)
        File "/Users/pipeline/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/adapters/abcadapter.py", line 90, in new_function
          return func(*args, **kw)
        File "/Users/pipeline/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/adapters/abcadapter.py", line 353, in _prelaunch
          result = self.launch(view_model)
        File "/Users/pipeline/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/adapters/creators/tumor_dataset_creator.py", line 261, in launch
          conn_gid = self.__import_tumor_connectivity(datatype_folder, patient, user_tag, self.storage_path)
      AttributeError: 'TumorDatasetCreator' object has no attribute 'storage_path'
      

      Should be fixed before the release.

        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 - 1 hour Time Not Required
                  1h