Closed nsheff closed 5 years ago
one issue here:
rgc.pull_asset()
allows for fetching multiple assets for a single genome when fed with collection of asset names. This gets ambiguous with introduction of tags.
pull_assets
from getting collection of asset names and have one one-to-one asset-tag mappingI can see that we're iterating over assets here so it'd make sense to go with number 2
went with no. 2 for now
yeah. The pull asset function should just take 1 at a time, and the user has to iterate. in this case, the CLI is the user, so the iteration can happen there. Sounds good.
If you want to, you could pull that logic out into a pull_assets()
function that just loops calling pull_asset
-- but the server will just respond to 1 at a time.
new signature for pull_asset will be: