You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to set project-wide defaults for savename, e.g. for connector and equals?
I'm trying to get rid of equal signs in the output filenames because it trips up Makefiles.
However, doing something like
@produce_or_load(datadir("oct"), args, prefix=prefix, connector="__", equals="_") do args
# ...
end
in every script gets cumbersome (and error-prone). The @produce_or_load macro doesn't allow me to pass in a dict of keyword args like settings... I think this is a fundamental restriction of having a macro there, but maybe there's a way to get around that?
Is there an easy solution for setting the default connector and equals throughout the entire project, or would it be feasible to add a way to customize these globally?
The text was updated successfully, but these errors were encountered:
Is there a way to set project-wide defaults for
savename
, e.g. forconnector
andequals
?I'm trying to get rid of equal signs in the output filenames because it trips up Makefiles.
However, doing something like
in every script gets cumbersome (and error-prone). The
@produce_or_load
macro doesn't allow me to pass in a dict of keyword args likesettings...
I think this is a fundamental restriction of having a macro there, but maybe there's a way to get around that?Is there an easy solution for setting the default
connector
andequals
throughout the entire project, or would it be feasible to add a way to customize these globally?The text was updated successfully, but these errors were encountered: