-
Notifications
You must be signed in to change notification settings - Fork 35
Add new functions/methods to featurize module #330
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
Conversation
|
Hi @JaGeo, there seems to be some issue with coverage artificats not being generated and uploaded in CI, I have not been able to pinpoint the cause yet. Will check again in detail tomorrow. Leaving this as a comment only for my reference here. |
|
Could be simply bug associated with a new release of pytest today. Will have to check downgrading it |
|
@naik-aakash sure. Don't worry! |
issue was with upload artificats update ignoring hidden files from being uploaded. It should be fixed now in PR #331 |
Co-authored-by: Christina Ertural <[email protected]>
Co-authored-by: Christina Ertural <[email protected]>
|
Hi @JaGeo , I think this PR could be merged now |
kaueltzen
left a comment
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.
Maybe a warning if POSCAR is parsed anywhere would be the most elegant way?
| help='path to structure file. Default is "POSCAR". ' | ||
| help='path to structure file. Default is "CONTCAR". ' | ||
| 'Can also read "POSCAR.lobster" file or any ' | ||
| 'suitable file format supported by pymatgen "Structure.from_file" method.', |
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 would add a warning in the doc here that translations might be inconsistent with LOBSTER if POSCAR or other structure formats derived from POSCAR are used. And / or a warning is raised if POSCAR is parsed.
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.
Sounds good
src/lobsterpy/cli.py
Outdated
| help=( | ||
| "Deliver a text description of the LOBSTER calc quality analysis. " | ||
| "Mandatory required files: POSCAR, POTCAR, lobsterout, lobsterin. " | ||
| "Mandatory required files: CONTCAR, POTCAR, lobsterout, lobsterin. " |
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.
Would change it to "CONTCAR or other structure file compatible with --file-structure"
src/lobsterpy/featurize/utils.py
Outdated
| :return: path to structure file | ||
| """ | ||
| for filename in ["POSCAR", "POSCAR.lobster", "POSCAR.lobster.vasp"]: | ||
| for filename in ["CONTCAR", "POSCAR.lobster", "POSCAR.lobster.vasp"]: |
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.
add "POSCAR" as last option?
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.
Makes sense, yes
|
|
||
| With LobsterPy, these intricate details are handled with a single command. We need the standard VASP input files, i.e. | ||
| ``INCAR, KPOINTS, POTCAR and POSCAR`` in the calculation directory. Once you have these files, one needs to run the following command: | ||
| ``INCAR, KPOINTS, POTCAR and CONTCAR`` in the calculation directory. Once you have these files, one needs to run the following command: |
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.
This needs to be adapted in the other .rst files as well, e.g. descriptionquality.rst
… POSCAR to list of possible files in structure path of featurize
Head branch was pushed to by a user without write access
…aturize utils, minor docstring updates.
Closes #329
Changes