-
Notifications
You must be signed in to change notification settings - Fork 82
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
Adding ENVIRON namelists #703
Open
sudarshanv01
wants to merge
28
commits into
aiidateam:main
Choose a base branch
from
sudarshanv01:develop
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 2 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
a991ec6
Added boundary and electrostatic namelists for ENVIRON
d2691b8
Added example environ calculation for testing purposes
a134570
Merge branch 'aiidateam:develop' into develop
sudarshanv01 d753459
Added test for generating Environ namelist
726b355
Added some documentation about how to run Environ and some enabled pa…
64161bc
Fixed typo in parsing of Environ
12be851
Merge branch 'develop' into develop
mbercx 9fc3a1a
Added tests to pw parser and calculation and added log to exception o…
b5d2859
Merge branch 'develop' of git+ssh://github.com/sudarshanv01/aiida-qua…
29e0574
Merge branch 'develop' of git+ssh://github.com/sudarshanv01/aiida-qua…
894b95a
Merge branch 'develop' of git+ssh://github.com/sudarshanv01/aiida-qua…
e38ddf1
Merge branch 'develop' of github.com:sudarshanv01/aiida-quantumespres…
8f0bb86
Make environ tests work in both calculations and parser
1f6dd1b
Changes from pre-commit to Environ test
db7d722
Changes from pre-commit to Environ test
f657f45
Added parser test, calculation files for Environ
9ef55c5
Added parser test, calculation files for Environ
4168fee
Added parser test, calculation files for Environ
5009842
Run environ calculation parser only if it is an environ calculation.
3d13abb
Merge environ namelists test into one
90aae90
Fixed is_environ tag
acb2d0a
Update docs/source/user_guide/get_started/examples/pw_tutorial.rst
sudarshanv01 c8016b8
Update tests/conftest.py
sudarshanv01 fe50cfa
Update tests/conftest.py
sudarshanv01 5764e4f
Update tests/parsers/test_pw.py
sudarshanv01 ed7e70c
Update tests/calculations/test_pw.py
sudarshanv01 94d1e85
Update tests/parsers/test_pw.py
sudarshanv01 2e5bc1b
Removed Pt structure from conftest
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
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
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
File renamed without changes.
File renamed without changes.
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.
Note that using mutable objects (as a
dict
is) for function defaults is dangerous. The reason is that the default can actually change if it is mutated. Rather, you should definesettings=None
and then in the function body you callsettings = settings or {}
which will assign the empty dict if it isNone
.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 see, that makes sense, good to know - thanks!