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

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4
    • None
    • None
    • VBC Sprint 13
    • 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

                robert.vincze Robert Francisc Vincze
                paula.popa Paula Prodan
                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