Revise 101-127-yoda to not imply an "output" directory #1269
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Feedback revealed that the specific presentation in this chapter led to the conclusion that outputs need to be written into some kind of top-level "outputs" directory in order to be YODA-compliant.
This is not the case and the chapter should be revised to avoid this impression.
One pragmatic reasons is this: When such a dataset becomes an input for another, the resulting file paths would be something like
/inputs/outputs/somefile.dat. It would make more sense to haveoutputs/(only) be some semantic grouping (if even needed), and otherwise consider the entire dataset an "output" of the process/study captured by that dataset.I read through the chapter, and I'm not sure I'm finding the place that would encourage creating an "outputs" directory at the top level.
The chapter promotes an "inputs" and a "code" directory, but nothing specific for outputs:
I grepped through the text, and the word "outputs" is used (as in: results one computed), but never as a directory or path.
The only exception is the "bad practice" example directory structure at the beginning of the chapter, which includes an outputs directory - but it also pretty clearly says that this isn't how things should be done.
I think the only thing I can change is add some for of remark or footnote that naming "the dedicated place" outputs isn't a good choice.