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

Switch models #2

Merged
merged 9 commits into from
Oct 11, 2024
Merged

Switch models #2

merged 9 commits into from
Oct 11, 2024

Conversation

mikibonacci
Copy link
Owner

No description provided.

Now the sites are the computed field, so immutable.
We can access and change the properties via their list:

structure.properties.charges[1] = -1
for the constructor.

Also: fixed the `get_defined/supported` properties.
We just borrowed and adapted the Hubbard setter and getter methods
in the hubbard_mixing.py file (HubbardSetterMixin and HubbardGetterMixin
classes).
- hubbard
- supercells/slabs
@mikibonacci mikibonacci merged commit 314c034 into develop Oct 11, 2024
3 of 5 checks passed
@mikibonacci mikibonacci deleted the switch_models branch October 11, 2024 10:26
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