Skip to content

Change if statement in preprocess select#1602

Draft
kmharrington wants to merge 1 commit intomasterfrom
select-option
Draft

Change if statement in preprocess select#1602
kmharrington wants to merge 1 commit intomasterfrom
select-option

Conversation

@kmharrington
Copy link
Copy Markdown
Member

I noticed that passing in select: False didn't actually cause the select not to happen. The way to have select not to happen is to not have select in the yaml at all.

Changing the statement to if not self.select_cfgs allows both None and False.

Should we make this change for all of the preprocess modules?

@mmccrackan
Copy link
Copy Markdown
Contributor

I think it is fine to make this change for all of the processes. I had started trying to standardize the check for saving in this PR for some entries, so we could do something similar. Some processes like source flags might need to have different handling though.

@msilvafe
Copy link
Copy Markdown
Contributor

Yes we should make that change everywhere

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