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

allenSDK is not compatible any more with TVB

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.1, 2.5
    • 2.7
    • None
    • None

    Description

      Launch demo notebook interacting_with_Allen.ipynb to reproduce the problem.

      I tried with

      • Python 3.7
      • AllenSDK 1.7.1
      2022-05-13 10:32:28,837 - ERROR [proc:70516]  - tvb.core.operation_async_launcher - %d format: a number is required, not ResolutionOptionsEnum
      Traceback (most recent call last):
        File "/Users/lia.domide/WORK/TVB/root-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/lia.domide/WORK/TVB/root-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/lia.domide/WORK/TVB/root-git/tvb-root/framework_tvb/tvb/core/services/operation_service.py", line 320, in _handle_exception
          sys.exc_info()[2])  # when rethrowing in python this is required to preserve the stack trace
        File "/Users/lia.domide/WORK/TVB/root-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/lia.domide/WORK/TVB/root-git/tvb-root/framework_tvb/tvb/core/adapters/abcadapter.py", line 90, in new_function
          return func(*args, **kw)
        File "/Users/lia.domide/WORK/TVB/root-git/tvb-root/framework_tvb/tvb/core/adapters/abcadapter.py", line 353, in _prelaunch
          result = self.launch(view_model)
        File "/Users/lia.domide/WORK/TVB/root-git/tvb-root/framework_tvb/tvb/adapters/creators/allen_creator.py", line 160, in launch
          vol, annot_info = cache.get_annotation_volume()
        File "/Library/Anaconda/anaconda3/envs/tvb-run/lib/python3.7/site-packages/allensdk/core/reference_space_cache.py", line 93, in get_annotation_volume
          file_name, self.ANNOTATION_KEY, self.reference_space_key, self.resolution)
        File "/Library/Anaconda/anaconda3/envs/tvb-run/lib/python3.7/site-packages/allensdk/api/cache.py", line 120, in get_cache_path
          return self.manifest.get_path(manifest_key, *args)
        File "/Library/Anaconda/anaconda3/envs/tvb-run/lib/python3.7/site-packages/allensdk/config/manifest.py", line 263, in get_path
          path = path_spec % args
      TypeError: %d format: a number is required, not ResolutionOptionsEnum
      

      Gliffy Diagrams

        Attachments

          Issue Links

            Activity

              People

                romina.baila Romina Baila
                romina.baila Romina Baila
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                    Estimated:
                    Original Estimate - 2 days Original Estimate - 2 days
                    2d
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 3 days
                    3d