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

More functionality from exporters could move to tvb-storage

    XMLWordPrintable

    Details

    • Type: Improvement
    • 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.5 TVB-C Architecture

      Description

      Ideally, an exporter should just call: StorageInterface.export_some_data(data, project) and tvb_storage should take care of gathering the data and prepare it for export in the data_export_folder (see ExportManager), returning directly a file path towards the H5 or the ZIP file that should be downloaded.

      The code needs a small refactor in order to achieve this. Currently, within exporters, we have multiple calls towards the StorageInterface to build the export folder, copy files, write zip files, and cleanup after export. These could all move inside the tvb_storage.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                robert.vincze Robert Francisc Vincze
                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 - 3 days Original Estimate - 3 days
                    3d
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 3 days, 4 hours, 30 minutes
                    3d 4h 30m