-
Notifications
You must be signed in to change notification settings - Fork 4
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
Command line options moved to input file #262
Conversation
As discussed in our meeting 2023-04-13, when this guy is merged we will tag v1.0.0 (following semver it can't be v0.anything). Conveniently, this would also coincide with a stable trustworthy version. |
Just a note for when we get here. There are some slightly different lines to be deleted in the README now. And a little bit of the unit-tests can be deleted with this merge. |
3c22e76
to
2a9b38f
Compare
7efd9d5
to
4e78084
Compare
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #262 +/- ##
===================================
- Coverage 48% 48% -1%
===================================
Files 63 65 +2
Lines 7826 7792 -34
===================================
- Hits 3783 3712 -71
- Misses 4043 4080 +37
☔ View full report in Codecov by Sentry. |
4d6a0d0
to
19a4bd4
Compare
So why did you fail?
|
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.
Nice. Sorry for being slow.
A few docs suggestions, and I'd plop some of the implementation stuff into a .cpp file rather than the header.
Whats with 6?
Requesting changes explicitly because: automerge is on. |
- ArgumentNamespace was still checking for now-redundant flags - One of simulation_manager's implementation files was missing an include - Typo in docstring for Grid object
Co-authored-by: Sam Cunliffe <samcunliffe@users.noreply.github.com>
40df6da
to
5d30807
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.
🍉
I doubled the merge queue runtime max. So it's now 120 mins (for instances where we need to flush the cache this makes sense and should be in the minority). If this still doesn't work, then we revert IMHO. |
🥳 |
Closes #261, closes #217 | Hence also closes #208
Important files with changes
README.md
developers.md
input_flags.h
Moves command-line flags to the input file
ArgumentParser
no longer reads the-c
and-fd
flags-h
help does not say anything about themInputFlags
class created to handle reading (possibly non-existent) names from the input files. This is a counterpart toInputMatrices
, which requires that all the datastructures it searches for in the input file exist.SimulationManager
andObjectsFromInfile
InterpolationMethods
enumflag
-related variables and enums. Flag-related enums are weakly typed tobool
s indicating whether or not they are on/offusecd
has been replaced withuse_pstd
andintmethod
has been replaced withuse_bli
as per Names of flag variables in the input file #261Updates system tests accordingly