-
Notifications
You must be signed in to change notification settings - Fork 29
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 #91 #92
Conversation
Codecov Report
@@ Coverage Diff @@
## master #92 +/- ##
==========================================
- Coverage 98.18% 98.07% -0.11%
==========================================
Files 11 11
Lines 882 884 +2
Branches 161 162 +1
==========================================
+ Hits 866 867 +1
- Misses 8 9 +1
Partials 8 8
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Update; #93 raises concerned related to this, which should be addressed in this PR too, will update it as explore fixes. |
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.
Awesome work @bricoletc!
I agree, there are likely all sorts of weird edge cases, but worry about them when/if they arise.
The latest commit gives me some strange results. Example
Snakefmt wants to make the following modifications
|
Nice=) |
#91 spotted a problem with nested if/else conditionals for including config files. This showed the regexp
we had for spotting these conditionals was incomplete, which I fixed, with added unit test.
This part of the code, where python syntax is 'glued' with snakemake syntax, is tricky to get right- I anticipate more edge cases exist, but I think we should wait to see them in real files rather than try and anticipate them all.