-
Notifications
You must be signed in to change notification settings - Fork 883
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
ImportError
: cannot import name 'SymmetryGroup'
from partially initialized module 'pymatgen.symmetry.groups'
#4309
Labels
Comments
depending on use case, viable workaround may be to use |
janosh
added a commit
to janosh/pymatviz
that referenced
this issue
Mar 1, 2025
janosh
added a commit
to janosh/pymatviz
that referenced
this issue
Mar 1, 2025
materialsproject/pymatgen#4309 examples/matbench_perovskites_eda.ipynb remove ipynb cell output with huge line count
janosh
added a commit
to janosh/pymatviz
that referenced
this issue
Mar 1, 2025
materialsproject/pymatgen#4309 examples/matbench_perovskites_eda.ipynb remove ipynb cell output with huge line count
janosh
added a commit
to janosh/pymatviz
that referenced
this issue
Mar 1, 2025
materialsproject/pymatgen#4309 examples/matbench_perovskites_eda.ipynb remove ipynb cell output with huge line count
janosh
added a commit
to janosh/pymatviz
that referenced
this issue
Mar 1, 2025
* remove `get_cbar_label_formatter()` from `utils/plotting.py` - Remove corresponding import and test cases * import `calculate_rdf` in RDF module's `__init__.py` - Update test case in `test_both_powerups.py` to use `add_scatter` instead of `add_trace` - Minor SVG asset updates for element pair RDFs * swap spglib for moyopy in example notebooks plus minor refactors * more spglib for moyopy swapping - Update structure visualization scripts to use moyopy for space group number retrieval - Modify spacegroup_sunburst and spacegroup_bar to work with moyopy - Add mapping for Hermann-Maguin short symbols to space group numbers - Remove commented-out SVG saving in sunburst script * fix pymatgen SpaceGroup circular import error materialsproject/pymatgen#4309 examples/matbench_perovskites_eda.ipynb remove ipynb cell output with huge line count * breaking: rename `crystal_sys_from_spg_num()` to `spg_to_crystal_sys()` - now also supports converting space group symbols to crystal systems, not just numbers - Create `spg_num_to_from_symbol()` for bidirectional space group number/symbol conversion - bump moyopy to 0.4.1 - Modify scripts to use new utility functions across various dataset exploration examples
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Python version
3.13
Pymatgen version
2025.2.18
Operating system version
macOS
Current behavior
Expected Behavior
this same error showed up twice before in 2022 and 2023
worth adding a unit test to catch this so that it doesn't slip through a 4th time
Minimal example
Relevant files to reproduce this bug
showed up in janosh/pymatviz#275
The text was updated successfully, but these errors were encountered: