broadinstitute / HydrantFC

Repository for the FireCloud version of Hydrant (currently in alpha testing)
BSD 3-Clause "New" or "Revised" License
5 stars 0 forks source link

are --task or --workflow arguments needed? #3

Closed noblem closed 6 years ago

noblem commented 6 years ago

The command

hydrant init FilterMAF

complains

usage: hydrant init [-h] (-t | -w) folder_name
hydrant init: error: one of the arguments -t/--task -w/--workflow is required

but why if tasks are not used anymore?

Moreover, why isn't

hydrant init <thing>

just assumed to be workflow, unless directed otherwise?

noblem commented 6 years ago

Moreover, even though the init command complains ... it still creates the FilterMAF directory ... it should either not complain or exit before creating the directory. Because if I then try to correct the problem (of not having specified --workflow) by re-issuing the command

hydrant init --workflow <thing>

hydrant complains again that the directory already exists, so I must go back and delete it.

noblem commented 6 years ago

pip install does not actually install the latest code unless you really ask it quite verbosely, so after I did so and got the latest version installed the --task and --workflow args went away