Repository navigation
4174 only read indats using the indat class #4523
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
Open
clmould
wants to merge
27
commits into
main
Choose a base branch
from
4174-only-read-indats-using-the-indat-class
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
459c0ec
move validate_input to InDat class and rename to check_obsolete_varia…
clmould 5fb7be4
Fix test_main.py failures from moving obsolete var check to InDat class
clmould eb6548f
check_process unused arg _inputs
clmould aa9586d
use fileprefix instead of output_prefix
clmould 31d04b1
fix test
clmould 33d381c
remove unused import
clmould 4e2858f
WIP parse_input_file is working
clmould 7a32fe2
fix failing tests - add error message if bounds aren't of the form bo…
clmould e958f57
inform of duplicate variables and update these in our test files, and…
clmould 82db0ff
remove refs to outdated vars impurity_radiation/imp_rad and vmec
clmould 2480c8b
add missing docstring in input.py
clmould a56196a
remove unused line number in in_dat/base.py
clmould 5adee89
tidy up variable_constraint_type_check, sort evals, reword error msg
clmould fe8388f
remove calls to unnecessary function
clmould 1f3a20c
accidentally changed
clmould d89d0e9
undo mistake
clmould ac5bacc
inputs , not _inputs
clmould b35da5d
remove unnecessary code
clmould 9ba607f
check obsolete in read_in_dat, split into smaller fns for checking an…
clmould a1b4c12
james comments
clmould caf1a78
create _handle_bounds fn
clmould 7a64938
docstrign
clmould c8bf2a1
fix pre-commit failure
clmould ea735bd
remove duplicate vars from example data files
clmould e2116ac
improve comment
clmould 91d2c8c
split bounds into boundu and boundl arrays, perform additional action…
clmould 643f870
add back error message if bounds are in the wrong form
clmould File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Why is this (and
examples/data/large_tokamak_varyrun_IN.DAT) changing?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.
because these are duplicate variables that threw an error as this PR raises an error now when there are duplicate vars