Open gdevenyi opened 5 years ago
Does this happen if testoutputdir has been created previously?
Things are okay if testoutputdir
exists
@bcdarwin we still need to decide if we will fix or remove --output-dir. I recall that much of the pydpiper vomit ignores it, and many pydpiper functions ignore it which causes an error along the lines of "trying to create a file outside of output directory".
@bcdarwin we still need to decide if we will fix or remove --output-dir. I recall that much of the pydpiper vomit ignores it, and many pydpiper functions ignore it which causes an error along the lines of "trying to create a file outside of output directory".
We plan on temporarily removing the --output-dir feature because of how much broken it is, with the intention of re-implementing in the future when pydpiper does a better job of storing its files internally.
Some pipelines (e.g. MAGeT) are now broken. Also, I don't think os.getcwd
is the right answer to this since now all paths are absolute, i.e., you can't relocate the pipeline (and relative input file deps) freely, which is slightly annoying. Probably best to revert this commit and just fix options.output_dir at a single place?
Error:
Runs properly if
--outputdir
is removed.