-
Notifications
You must be signed in to change notification settings - Fork 59
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
Bugfix for optional output template files (i.e. of type Union[Path, bool]) when set to False #709
Conversation
output_file_template
and type Union[Path, bool]) bugfix when set to False
output_file_template
and type Union[Path, bool]) bugfix when set to False
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #709 +/- ##
==========================================
+ Coverage 83.35% 83.65% +0.30%
==========================================
Files 24 24
Lines 4949 4986 +37
Branches 1411 1416 +5
==========================================
+ Hits 4125 4171 +46
+ Misses 816 809 -7
+ Partials 8 6 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
8e6e21d
to
ec32186
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to work. I agree it would be good to understand the use case for L462 and either remove or test it.
Is one the nested |
Types of changes
Summary
For options such as the following where an optional output file (with a template) type Union[Path, bool], where the value is set to False, the collection of outputs was failing when attempting to coerce the boolean to a File
This bug-fix omits these fields from the collected outputs
Checklist