-
Notifications
You must be signed in to change notification settings - Fork 0
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
New boolean in analysis_compare to run report maker only #102
Conversation
Hey @valeriupredoi, no rush on this, but I wound up doing two things at once. Figured a merge could do both. |
Wait a second, just found out that the parser isn't done properly. I'm going to implement it as as BooleanOptionalAction instead.
|
@ledm take your time! If you wish, you can always mark the PR as Draft while you still devving it 🍺 |
Okay, pretty sure it's behaving the way I want it to now. Ready for review. |
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.
Fix commits
…to dev_report_only Conflicts: key_files/dust.yml
this RfR bud? 🍺 |
Yeah, go for it! I wouldn't merge until @DrYool gives it a go though, as he raised the issues it solves. |
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.
looks good, let me add an API test and - like you say - wait for @DrYool to give you green light 🟢
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.
@ledm one hitch - the assert 0
is causing the local tests (with a fresh env) to fail - could you pls remove it, or place a valid exception that needs be raised? 🍺
wait - am a bit confused is |
also, happy to see
Is that supposed to be there? |
Co-authored-by: Valeriu Predoi <valeriu.predoi@gmail.com>
skip_timeseries sets a bool which means that you don't analyse any new data, but you do load the old ones. This means that is is exactly the behaviour we expect.
The confusing part is that the overwrites a bool in the input_yml, which can be True or False. So, there's 3 options:
|
OK so in terms of the actual command line flag:
No other values given to the cmd line flags, no? |
Yes, this is accurate. |
Gotcha! Awesome, makes sense then 🍻 |
That's cool, we have tests to test these new options, but am still a bit weirded out why my local tests fail unless that assert 0 gets removed |
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.
tests pass locally (on me home machine) with both Python=3.10 and 3.11 no problem (and of course on GA machine), awesome work @ledm (very possible me work machine, having an old OS, is messing up due to old kernel) 🍻
Okay, we got the ok from @DrYool, go ahead and merge, @valeriupredoi! |
Sometimes, we need to just make a report instead of running the
analysis_timeseries
code as well. It's possible to change this in the input_yml file, but this runtime bool overwrites that function.Basically, this means that we can produce a report without changing the yml, which is handy while running several things at once.
At the same time, I've added several regions that Colin requested and included the new historical recipe.
Closes #103
Closes #104
Closes #105