Replies: 2 comments 6 replies
-
P.S. This is motivated by trying to simplify the user experience. If, say, you're running a wsclean cab, it would be nice if the behaviour was similar to the one outside Stimela. That is, you give it a path to the MS and to a mask -- and you shouldn't care if they live in different directories -- and you expect the output images under |
Beta Was this translation helpful? Give feedback.
-
To put a bit more meat on the proposal:
recipe:
dir:
input: input # or perhaps '.'?
output: output # or perhaps '.'?
Actually, if we implement (6), then the whole |
Beta Was this translation helpful? Give feedback.
-
There's a few wrinkles that could use straightening out for R2:
msdir
is something of an atavism, since you're introducing I+O parameters (mixed
orboth
? I preferboth
as it seems more precise use of English) which is more general.no possibility of multiple input/output dirs (think the Caracal use case, when we split an ms from raw data dir to msdir -- one day someone is going to ask for something silly like applying caltables OTF. Seems restrictive that we can't read stuff from multiple places at once.)
the
:msfile
syntax to change a file's destination feels kludgyfor "casual" use, as e.g. when running a single cab with
stimela exec
, input=output=. ought to be the default?Proposal:
Multiple directories can be defined and mounted inside the container. The default is to just have the two standard ones,
dirs.input
anddirs.output
.File/directory parameters without a leading slash are implicitly taken relative to
dirs.input
for input parameters, anddirs.output
for I/O and output ones (which is more or less what happens now).For file/directory parameters with a leading slash, add their resident directory to the list of mounts (r/o or r/w as appropriate)
Support standard substitutions e.g.
"{dirs.output}/input-file.txt"
for twisted cases where you want an input to come from the output directory (kind of what:msfile
does right now...)Should
input=output=.
be the default for "casual" mode?Beta Was this translation helpful? Give feedback.
All reactions