Skip to content
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

Refactor input generation #61

Merged
merged 2 commits into from
Feb 10, 2023
Merged

Conversation

danielhollas
Copy link
Collaborator

@danielhollas danielhollas commented Feb 6, 2023

I got burned by a bug where missing extra_input_keywords would crash the calculation. This led me to a bit of a rabbit hole to refactor / simplify the generation of the input file.

One outstanding question: What is the purpose behind extra_input_keywords? It is exactly the same as input_keywords, it only renders on a separate line. Are there any ORCA keywords that need to be on a separate line?

To review this on Github UI, enable ignoring white space.
https://github.com/pzarabadip/aiida-orca/pull/61/files?diff=split&w=1

@danielhollas danielhollas requested a review from ezpzbz February 6, 2023 00:46
@ezpzbz
Copy link
Owner

ezpzbz commented Feb 10, 2023

@danielhollas Thanks very much for this.
I do not remember much about the extra_input_keywords. I think it is coming from cclib.

@danielhollas danielhollas merged commit 8f88df7 into develop Feb 10, 2023
@danielhollas danielhollas deleted the refactor-input-generation branch February 10, 2023 09:30
@danielhollas
Copy link
Collaborator Author

@pzarabadip Thanks!

I think it is coming from cclib.

I thought cclib only concerns itself with parsing the output. In any case, we should figure out if the extra_input_keywords are needed before the 1.0 release, I opened #63 to remind us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants