Closed boulund closed 6 years ago
@percyfal for me this looks ready to merge. But the slurm profile is your baby, so please let us know if you agree.
Minor change needed when checking the output and error arguments; they are always initialized to None and os.makedirs will fail. Otherwise LGTM.
As the output
and error
keys always exist in arg_dict
we don't need to check for their existence, but instead just check if they're set to None. Do you think it looks OK?
Yes, you're right, let's settle for that.
This PR contains two minor improvements:
opts
arguments tosbatch
by converting underscores back to dashes (necessary because argparse converts all dashes (-
) in command-line arguments to underscores (_
)).I hope someone finds this useful.