Skip to content
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

add setup_job_directory shortcut #98

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

JackTemaki
Copy link
Contributor

No description provided.

@JackTemaki JackTemaki requested a review from critias August 31, 2022 15:58
Copy link
Contributor

@critias critias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If a job isn't inside the graph this will probably crash since tk.sis_graph.find("%s") returns an empty array. Given that you check each config file individually it will not work if the first config file doesn't contain the job.

Either pass all config files at once or allow only one config file as input.

@@ -179,6 +188,12 @@ def remove_job_and_descendants(args):
call_sis(call)


def setup_job_directory(args):
for conf_file in args.argv:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does passing all config files at once cause problems?

@curufinwe curufinwe requested review from curufinwe and michelwi May 17, 2023 07:20
@curufinwe
Copy link
Collaborator

I don't mind having this shortcut. @JackTemaki is this still relevant for you?

@JackTemaki
Copy link
Contributor Author

I don't mind having this shortcut. @JackTemaki is this still relevant for you?

Well, this is just a small convenience increase that you do not have to open the console for that, I would not call it relevant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants