-
Notifications
You must be signed in to change notification settings - Fork 19
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
Implement PpafmParameters
class based on pydantic.BaseModel
#275
Merged
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
1ddffa9
Implement PpafmParameters class based on pydantic.BaseModel
yakutovicha cb4fdd6
First somehow working version.
yakutovicha 8e06669
Remove defaults/params.ini to avoid confusions.
yakutovicha f70ec67
Continue switching from params to parameters
yakutovicha 56bfbbd
Fixes
yakutovicha f04b0cf
Merge branch 'main' into improve/store-config-in-one-class
yakutovicha bf975a1
Update AFMulator
yakutovicha 2e55280
Remove params dictionary from common.py, continue replacements.
yakutovicha a7ad91d
Minor fixes
yakutovicha 5397525
Finalise the migration.
yakutovicha fe8eb22
Allow tip to be a list
yakutovicha 4239788
Backwards compatibility.
yakutovicha 2e82510
Rcore: get deafult value from PpafmParameters
yakutovicha 775032b
Formating changes
yakutovicha 1f1e6f8
Make loadParams part of the PpafmParameters dataclass
yakutovicha 966eb61
Add toml dependencly
yakutovicha 100c68f
Add pyyaml dependency
yakutovicha 1903af1
Make apply_options part of the PpafmParameters class
yakutovicha 2242312
Fix parseAtoms call in plot_results.py
yakutovicha 2ba6441
Get rid of yaml.
yakutovicha d86fbe6
Get rid of tip_base parameter and rename dump_parameters to to_file
yakutovicha 6985c4c
Add test to the PpafmParameters class
yakutovicha ef4fbb7
Fix test
yakutovicha 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 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
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.
I had to do it, cause Toml was getting crazy trying to parse an inhomogeneous array.
At the same time, the parameter is not used anywhere (checked with
get grep tip_base
) and was supposed to be removed.