Skip to content

Warnings for configuration set and records#62

Open
xivh wants to merge 5 commits into
prisms-center:2.Xfrom
xivh:ConfigurationSet
Open

Warnings for configuration set and records#62
xivh wants to merge 5 commits into
prisms-center:2.Xfrom
xivh:ConfigurationSet

Conversation

@xivh

@xivh xivh commented May 26, 2026

Copy link
Copy Markdown
Contributor
  • Warning if ConfigurationSet has duplicates instead of silently dropping them during from_dict
  • Warning if ConfigurationSet.add_record reuses a configuration name but the configuration is different instead of duplicating
  • Warnings for comparing Configuration, ConfigurationRecord, and ConfigurationWithProperties
  • Warning for comparing Supercell and SupercellRecord

These could also be upgraded to errors. Another similar change I would like to make to ConfigurationSet is a way to test if it contains non-canonical supercells and raise a warning, and then this method can be called in various places such as when saving EnumData.

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