Draft
Conversation
Delete svdqpts since it is not necessary
Raykang35
reviewed
Sep 7, 2025
Raykang35
reviewed
Sep 7, 2025
Raykang35
reviewed
Sep 7, 2025
Raykang35
reviewed
Sep 7, 2025
Raykang35
reviewed
Sep 7, 2025
Raykang35
reviewed
Sep 7, 2025
Raykang35
reviewed
Sep 7, 2025
Raykang35
reviewed
Sep 7, 2025
Raykang35
reviewed
Sep 7, 2025
Raykang35
reviewed
Sep 7, 2025
Raykang35
reviewed
Sep 7, 2025
| """ Using glob function in python to find the structure | ||
| file in the current path | ||
| The type of the structure files: ".cif" | ||
| def getGeometry(path: Path): |
Collaborator
There was a problem hiding this comment.
In mapping section, the atom order in POSCAR is different than the atom order in .cif. I am not 100% sure whether .cif file would return the same output as POSCAR. There are 2 ways we can deal with this.
- I suggest here we only apply POSCAR. We should add a function that if .cif, convert into POSCAR.
- It is worth testing with simple material simulation such as BTBT. If the output is the same, leave it as it is.
Raykang35
reviewed
Sep 7, 2025
| phonon_path = base_path / "2-phonons" | ||
|
|
||
| # Geometry file | ||
| try: |
Collaborator
There was a problem hiding this comment.
I don't think we need any geometry file from 2-phonons folder. The geometry file in 2-phonons is different than original geometry. It is optimized.
Raykang35
reviewed
Sep 7, 2025
Collaborator
|
The ideas of improving the code quality and workflow is great. Let's improve workflow 2 and 3 as well. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Many changes being made for this PR.
Main Changes
--overwriteflag addednmolhard codingDetails
Arguments
-lto run ElPh on local machine--gpu,--account,--time,--hpchave been added to modify Slum script generation--homoand--svdare commented out due to never being used in the code--overwriteflag added (explained in 'Workflow')main.pynow validates--workflowand--nmolat startWorkflow
--overwriteflag prevents any steps from being skippedImproving code quality
if nmol == 3: ... if nmol == 4: ...pathlib.Path
pathlib.Pathin place ofos.pathError throwing
ut.print_error(message)has been changed tout.throw_error(message, exit_status=1)sys.exit(exit_status)