Comments (1)
thanks for the detailed bug report! should be a straightforward fix by turning the if match
statement in _parse_formula()
into a while
loop to keep unpacking nested parens
pymatgen/pymatgen/core/composition.py
Lines 561 to 571 in 20475b6
from pymatgen.
Related Issues (20)
- `pymatgen.io.vasp` docs page is very slow to load and scroll HOT 2
- pymatgen.io.pwscf add symmetry HOT 2
- minimizing import overhead HOT 11
- Add alias `VaspInputGenerator` for `VaspInputSet`
- Vulnerability Disclosure HOT 2
- Unable to parse `LOCPOT` with VASP 6.4.2 HOT 7
- Q-Chem 6.1.1 breaks the `QCOutput` parser in many ways
- Is it OK to use the periodic table JSON data in my own library? HOT 1
- `QCOutput` should parse the full Q-Chem version
- Visualization HOT 4
- Enable use of square brackets when parsing string formulas in Composition HOT 1
- Pymatgen cannot appropriately parse CIF file download from Materials Project HOT 1
- `Vasprun` parser raises a `FileNotFoundError` when searching for POTCARs with pymatgen 2024.1.26 HOT 2
- Super slow import times on `2024.1.26` HOT 1
- String representation of Spin enum HOT 1
- Issue when using pymatgen to plot dos HOT 2
- tribchem: "Fixing" some issues in pymatgen.
- Compare two descriptions of crystal structures to see if the have the same underlying structure. HOT 6
- `PBE_64` configured via pmg doesn't work with pymatgen. HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pymatgen.