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

Allow lowercase flow class #100

Merged
merged 3 commits into from
Jul 21, 2021
Merged

Allow lowercase flow class #100

merged 3 commits into from
Jul 21, 2021

Conversation

mj-will
Copy link
Owner

@mj-will mj-will commented Jul 21, 2021

Currently setting flow_class='flowproposal' raises an error because of missing uppercase letters. This changes to check the lower() version of the string and thus ignoring capitalisation.

Also noticed a RuntimeError is raised for invalid values of flow_class. Changed this to ValueError.

@mj-will mj-will added the enhancement New feature or request label Jul 21, 2021
@mj-will mj-will added this to the v0.3.1 milestone Jul 21, 2021
@mj-will mj-will merged commit 9362ba2 into main Jul 21, 2021
@mj-will mj-will deleted the allow-lowercase-flow-class branch July 21, 2021 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant