materialsproject / pymatgen

Python Materials Genomics (pymatgen) is a robust materials analysis code that defines classes for structures and molecules with support for many electronic structure codes. It powers the Materials Project.
https://pymatgen.org
Other
1.49k stars 857 forks source link

Fix missing `/src` in doc links to source code #4032

Closed DanielYang59 closed 3 weeks ago

DanielYang59 commented 3 weeks ago

closes #4030

DanielYang59 commented 3 weeks ago

No problem. Thanks for the better title :)

DanielYang59 commented 3 weeks ago

Looks like there might be a off-by-one error with the URL generator, need a closer look:

image

This only happens for some classes, in https://pymatgen.org/pymatgen.alchemy.html, line indexes for AbstractStructureFilter is correct, but ChargeBalanceFilter is off-by-one