-
Notifications
You must be signed in to change notification settings - Fork 467
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
fixing argparsing of planet file #1215
Conversation
@bcoconni do you approve this? |
Could you be more specific about that ? Because I don't see what this change is actually fixing:
and both are reported to require a filename in the Lines 42 to 45 in 5be7eab
In addition, renaming the argument
So I'd suggest not to approve this PR, unless a compelling reason to do so is given. |
Happy to elaborate, I expect I'm running into this as someone coming at it from a pure python scripting perspective, so might have slipped through the testing cracks. But either way no way of running in python script mode currently works.
You'll get the error:
Alternative change is to change L184 to |
Thanks for further explanations. Good catch ! So yes, please replace L184 as you suggested. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1215 +/- ##
=======================================
Coverage 24.96% 24.96%
=======================================
Files 170 170
Lines 19281 19281
=======================================
Hits 4814 4814
Misses 14467 14467 ☔ View full report in Codecov by Sentry. |
The PR has been merged. |
Minor bug fix- looks like there's a name mismatch of the argparse definition and namespace name of the planet file. Currently python doesn't work as is.