IUSCA / bioloop

Scientific data management portal and pipeline application template
Other
5 stars 2 forks source link

Rewrite bundle population and download logic #202

Closed ri-pandey closed 8 months ago

ri-pandey commented 8 months ago

Description

Rewrote the logic that populates bundle metadata and prepares bundles for download.

Related Issue(s)

Closes #201

Changes Made

List the main changes made in this PR. Be as specific as possible.

Checklist

Before submitting this PR, please make sure that:

Additional Information

The old logic downloaded bundles from the SDA to populate it's metadata. The new logic populates bundle metadata by reading it from the dataset.bundle_size column, and downloading bundles from SDA is no longer needed. This way the bundles can be prepared for download much faster.

After the bundles are prepared for download in the CPA release, I will be doing a second release immediately after that removes the bundle_size column.