| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| def nacl_structure(): | ||
| lattice = Lattice(5.6, 5.6, 5.6, 90, 90, 90) | ||
| atoms = [Atom("Na", [0, 0, 0]), Atom("Cl", [0.5, 0.5, 0.5])] | ||
| return Structure(atoms, lattice=lattice) |
There was a problem hiding this comment.
This fixture is left here because it is only used in the deprecation tests so we want to remove it when all the tests are removed. If we don't, this will hang around in conftest.py unused
Sorry, something went wrong.
|
@sbillinge ready for review. deprecation of diffpy.srfit.structure |
Sorry, something went wrong.
Codecov Report❌ Patch coverage is 85.00000% with 9 lines in your changes missing coverage. Please review.
@@ Coverage Diff @@
## main #236 +/- ##
==========================================
+ Coverage 84.95% 84.97% +0.01%
==========================================
Files 44 45 +1
Lines 4886 4945 +59
==========================================
+ Hits 4151 4202 +51
- Misses 735 743 +8
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Deprecating diffpy.srfit.structure in favor of diffpy.cmistructure.
This PR emits the deprecation warning on import:
and if a function is called:
The attribute stru is also deprecated: