Comments (4)
We don't install typing_extensions in CI but one of our optional dependencies must.
Could be (just guess, didn't check).
So we didn't see the error but #3646 by @ml-evs would have caught this which is why I'm eager to get it merged. Sadly, lots of legacy issues in the way. maybe it makes sense to split out a PR that only adds minimal dependency checking and do all the type stuff in #3646 separately.
Yes I just had a look and there are 700+ pyright
errors. It's certainly too much work for a single person and I would see if I could give him a hand on that.
from pymatgen.
Mistakes happen. It's not a big deal especially if we fix them quickly.
We don't install typing_extensions in CI but one of our optional dependencies must. Which means it's available in our CI but not necessarily available in others CI or local machines. So we didn't see the error but #3646 by @ml-evs would have caught this which is why I'm eager to get it merged. Sadly, lots of legacy issues in the way. maybe it makes sense to split out a PR that only adds minimal dependency checking and do all the type stuff in #3646 separately.
from pymatgen.
Help with fixing pyright issues would be hugely appreciated!
from pymatgen.
Thanks for fixing! Just tracked them down and found these were added in 2adde29 (guess we were both too distracted because there were just too many mypy
errors), and wondering why unit tests didn't capture such errors (we don't explicitly install typing_extensions
in our CI too)?
from pymatgen.
Related Issues (20)
- Default settings of `Structure.relax()` fails to synchronize tensor locations (CPU/GPU) on GPU-enabled environments HOT 1
- Unexpected Tokenizing error when using `parse_lammps_dumps`
- The inconsistent results when finding the transformatoin matrix between two space groups using StructureMatcher and Bilbao Crystallographic Server IDENTIFY GROUP. HOT 5
- Duplicate atom generated with Structure.from_spacegroup
- KPOINTS_OPT based one-shot calculation input files generation and the corresponding post-processing. HOT 3
- ValueError:dictionary update sequence element #0 has length 1; 2 is required HOT 2
- create a hcp mg grain boundary mgΣ7[0001](0001) too many values to unpack (expected 3) HOT 2
- Spacegroup P212121 does not give a valid pointgroup
- New pymatgen version HOT 10
- Numerical instability in lattice matrix operations : get_slabs / StructureMatcher / _cart_dists
- OptimadeRester HOT 14
- Overlayed subplots from `BSPlotterProjected.get_projected_plots_dots()` and `get_projected_plots_dots_patom_pmorb()` HOT 1
- `atom_site_label` in CIF file are not unique HOT 10
- CrystalNN gives incorrect result for simple aromatic ring HOT 13
- ChemEnv unable to identify the environments of supercell HOT 7
- Atom labels in CIF file are silently rewritten by CifWriter HOT 6
- Collect possible issues might come with Python 3.12
- Incompatibility Issue with ALGO Parameter in Incar and Vasprun Classes
- Periodic boundary condition is not considered in the interpolator of VolumetricData HOT 1
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.