UAL-RE / ReBACH

Python-based tool to enable data preservation to a cloud-hosted storage solution
MIT License
2 stars 2 forks source link

Fix: crash when not uploading bags (Issue #71) #72

Closed zoidy closed 1 year ago

zoidy commented 1 year ago

Description This fix allows bagger to use dart workflows that don't include an upload step by adding extra checks when setting up the run

Fixes #71

Screenshots or additional context

Testing (if applicable) To test, take whatever workflow file you're using (e.g., bagger/config/default_workflow.json) and remove the storageServices key to disable uploads. This PR makes it so bags are created but not uploaded, as expected. Note you probably want to set the delete flag in the toml config in bagger/config to false so the created bag remains.