-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Func-y scripts #87
Func-y scripts #87
Conversation
else: | ||
fk.channel = channel | ||
return fk.get_path_from_filekey(get_pattern_log_channel(self.setup, name))[0] | ||
return "/tmp/log.log" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uhmmmm.....
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol
) | ||
argparser.add_argument("--output", help="output file", type=str, required=True) | ||
argparser.add_argument( | ||
"--in_db", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"--in_db", | |
"--in-db", |
One general comment: we should only use dashes in command line options. ArgParser automatically promotes them to underscores.
@@ -60,19 +60,19 @@ def execenv_python(config, aslist=False): | |||
return " ".join(cmdline), cmdenv | |||
|
|||
|
|||
def execenv_smk_py_script(workflow, config, scriptname, aslist=False): | |||
def execenv_smk_py_script(config, scriptname, aslist=False): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we rename this to execenv_smk_pyexe()
...?
@@ -84,14 +84,43 @@ docs = [ | |||
|
|||
[project.scripts] | |||
dataprod = "legenddataflow.execenv:dataprod" | |||
create_chankeylist = "legenddataflow.scripts.create_chankeylist:create_chankeylist" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer using dashes in command lines (see similar comment about command line options).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure maybe add as an issue and can get to it sometime
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i can also do it
No description provided.