HumanCellAtlas / dcp-cli

DEPRECATED - HCA Data Coordination Platform Command Line Interface
https://hca.readthedocs.io/
MIT License
6 stars 8 forks source link

Manifest download does not support downloading files not associated with a bundle #356

Open natanlao opened 5 years ago

natanlao commented 5 years ago

Per the documentation for download_manifest:

Each row in the manifest represents one file in DSS. The manifest must have a header row. The header row must declare the following columns:

  • bundle_uuid - the UUID of the bundle containing the file in DSS.
  • bundle_version - the version of the bundle containing the file in DSS.

As such, files cannot be specified in a manifest independent of a bundle.

kozbo commented 5 years ago

Just to clarify, requiring a header isn't the same as requiring values in those columns. Are yousaying that a file cannot be found if the bundle specifics are not specified?

natanlao commented 5 years ago

Not that it can't be found, but that (at least by my read) the manifest downloading code always assumes that a bundle is being downloaded, which means that the download operation would fail were bundle_uuid and bundle_version omitted from a manifest row.