• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pyiron / structuretoolkit / 5858448314

pending completion
5858448314

Pull #53

github-actions

web-flow
Merge c9df2fc53 into 5a48886b7
Pull Request #53: Bump plotly from 5.15.0 to 5.16.0

2219 of 2553 relevant lines covered (86.92%)

0.87 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

81.82
/structuretoolkit/common/pymatgen.py
1
def ase_to_pymatgen(structure):
1✔
2
    from pymatgen.io.ase import AseAtomsAdaptor
1✔
3

4
    adapter = AseAtomsAdaptor()
1✔
5
    return adapter.get_structure(atoms=structure)
1✔
6

7

8
def pymatgen_to_ase(structure):
1✔
9
    from pymatgen.io.ase import AseAtomsAdaptor
1✔
10

11
    adapter = AseAtomsAdaptor()
1✔
12
    return adapter.get_atoms(structure=structure)
1✔
13

14

15
def pymatgen_read_from_file(*args, **kwargs):
1✔
16
    from pymatgen.core import Structure
×
17

18
    return pymatgen_to_ase(structure=Structure.from_file(*args, **kwargs))
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc