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

removing force_parity from create_kpoints_from_distance #598

Merged
merged 4 commits into from
Jan 24, 2024

Conversation

AndresOrtegaGuerrero
Copy link
Member

This allows the app to follow the same logic of aiida-quantumespresso plugin, therefore displaying the final kpoint mesh as in the calculation

Copy link

codecov bot commented Jan 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c9d010a) 80.86% compared to head (45189c0) 80.86%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #598   +/-   ##
=======================================
  Coverage   80.86%   80.86%           
=======================================
  Files          49       49           
  Lines        3429     3429           
=======================================
  Hits         2773     2773           
  Misses        656      656           
Flag Coverage Δ
python-3.10 80.86% <100.00%> (ø)
python-3.8 80.91% <100.00%> (ø)
python-3.9 80.91% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@unkcpz
Copy link
Member

unkcpz commented Jan 24, 2024

This allows the app to follow the same logic of aiida-quantumespresso plugin

Hi @AndresOrtegaGuerrero, what you mean of "same logic"? I look at the function in aiida-quantumespresso, but it has no default value defined for force_parity. https://github.com/aiidateam/aiida-quantumespresso/blob/c44faadc7c11f7118290cf1b7affe49313bd4467/src/aiida_quantumespresso/calculations/functions/create_kpoints_from_distance.py#L7

@AndresOrtegaGuerrero
Copy link
Member Author

@unkcpz in the base workchain, https://github.com/aiidateam/aiida-quantumespresso/blob/main/src/aiida_quantumespresso/workflows/pw/base.py#L7

thats why the value we display is not necessarily the one is being used in the calculations since it should be force_parity false

Copy link
Member

@unkcpz unkcpz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@unkcpz unkcpz merged commit 1818b17 into main Jan 24, 2024
13 checks passed
@unkcpz unkcpz deleted the fix_parity_kpointsmesh branch January 24, 2024 20:43
unkcpz pushed a commit to unkcpz/aiidalab-qe that referenced this pull request Jan 25, 2024
Use the same default value as of the aiida-quantumespresso plugin, therefore displaying the final kpoint mesh as in the calculation.
@unkcpz unkcpz added this to the v2023.10.x milestone Jan 25, 2024
unkcpz added a commit that referenced this pull request Jan 25, 2024
* Remove the load_profile warning by move it to front (#599)
* removing force_parity from create_kpoints_from_distance (#598)
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.

None yet

2 participants