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

fix: envars default to none will trigger error #31

Closed
wants to merge 1 commit into from

Conversation

vsoch
Copy link
Contributor

@vsoch vsoch commented Oct 2, 2023

Problem: if a workflow does not have default envvars, the function get_envvar_declarations will error trying to iterate over a None object.

Solution: add an or {} to ensure that we do not error.

Problem: if a workflow does not have default envvars, the function
get_envvar_declarations will error trying to iterate over a None
object.
Solution: add an or {} to ensure that we do not error.

Signed-off-by: vsoch <[email protected]>
@vsoch vsoch force-pushed the small-bugfixes-for-flux branch from e07894a to 21090c4 Compare October 2, 2023 20:09
@vsoch
Copy link
Contributor Author

vsoch commented Oct 2, 2023

Bug that is breaking tests should be fixed here: snakemake/snakemake-interface-common#25

@johanneskoester
Copy link
Contributor

Thanks! This has been fixed in the settings class now (it now always gives a sequence, also in the empty case).

@johanneskoester johanneskoester deleted the small-bugfixes-for-flux branch October 12, 2023 08:41
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