Closed aidanheerdegen closed 3 years ago
Related issue, the same dialog prints for payu run
and payu setup
. Ideally the message would be different for the latter case.
I support this change.
I am dumb. This change would require setup
to be run before the PBS submit. This is not a trivial change.
I guess you realised that @marshallward? Do you still want me to go ahead with this?
Maybe at one time I realised it, can't say I see why at the moment :{. I guess it is because we do everything after submission?
This does seem to be touching on the more general problem of doing everything after submission, rather than pre-submission.
I think payu setup
is still more of a debug feature, so if there's not a way of doing this automatically then maybe hold off on it.
Yeah.
Could have a halfway house of defining a config.yaml
variable to blow away work
with payu run
but this only helps experienced users who know to set it.
What to call it? All options seem ugly
wipe_work
overwrite_work
Or could add a command line option, -o
for overwrite, or -f
for force. That is probably a better option, and one that would still be useful even if the proposed feature was implemented.
I like the option idea so much I'm starting a new issue for it.
I like the force flag idea. (-o often means output in many programs).
It confuses users that if they try
when there is still a
work
directory they getA better solution might be a dialog like: