Skip to content

big cleanup/fixes#294

Merged
maximsmol merged 2 commits into
kenny/snakekitfrom
maximsmol/snakekit-pr
Jul 7, 2023
Merged

big cleanup/fixes#294
maximsmol merged 2 commits into
kenny/snakekitfrom
maximsmol/snakekit-pr

Conversation

@maximsmol
Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: maximsmol <maximsmol@gmail.com>
@maximsmol maximsmol requested a review from kennyworkman July 5, 2023 23:44
Signed-off-by: maximsmol <maximsmol@gmail.com>
serialize_jit_register_workflow(
jit_wf, ctx.pkg_root, ctx.snakefile, tmp_dir, image_name, ctx.dkr_repo
)
assert jit_wf is not None
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

i dont understand the asserts, why not check values and throw a more descriptive error, AssertionError tells me nothing (also you can run python without asserts but not as relevant)

task_td = stack.enter_context(MaybeRemoteDir(ctx.ssh_client))
try:
build_and_serialize(
_build_and_serialize(
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I got rid of the underscore for hidden function names because we were using them inconsistent and it makes things harder to read

@maximsmol maximsmol merged commit 7026c58 into kenny/snakekit Jul 7, 2023
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.

2 participants