Skip to content

Give priority to overrides when setting FIXED_COORDS and cell_dofree#1218

Draft
dbidoggia wants to merge 1 commit intoaiidateam:mainfrom
dbidoggia:relax_builder_from_protocol
Draft

Give priority to overrides when setting FIXED_COORDS and cell_dofree#1218
dbidoggia wants to merge 1 commit intoaiidateam:mainfrom
dbidoggia:relax_builder_from_protocol

Conversation

@dbidoggia
Copy link
Contributor

Ciao!
Now in some cases FIXED_COORS and cell_dofree parameters passed as overrides to get_builder_from_protocol in PwRelaxWorkChain got overridden in some cases.
In some cases maybe a good idea to prevent meaningless combination of parameters, on the other side prevents the user to really set the parameter he wants (for example for a 2D system with pbc=TTF now only cell_dofree=2Dxy is allowed, however he may want to set it to x in order to adjust only v1_x component, or maybe he really wants to adjust also z direction because he wants to find out the 3D structure out of the 2D initial one).
In general if the user sets some overrides I would leave to him the responsibility of the meaningfulness of parameters unless they would give rise to critical issues.

@dbidoggia dbidoggia marked this pull request as draft December 2, 2025 15:45
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.

1 participant