diffpy.srreal 1.4.0__tar.gz → 1.5.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- diffpy_srreal-1.5.0/.codecov.yml +14 -0
- diffpy_srreal-1.5.0/.codespell/ignore_lines.txt +2 -0
- diffpy_srreal-1.5.0/.codespell/ignore_words.txt +17 -0
- diffpy_srreal-1.5.0/.flake8 +13 -0
- diffpy_srreal-1.5.0/.github/ISSUE_TEMPLATE/bug_feature.md +16 -0
- diffpy_srreal-1.5.0/.github/ISSUE_TEMPLATE/release_checklist.md +47 -0
- diffpy_srreal-1.5.0/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md +15 -0
- diffpy_srreal-1.5.0/.github/workflows/build-and-publish-docs-on-dispatch.yml +20 -0
- diffpy_srreal-1.5.0/.github/workflows/build-wheel-release-upload.yml +117 -0
- diffpy_srreal-1.5.0/.github/workflows/build-wheels.yml +60 -0
- diffpy_srreal-1.5.0/.github/workflows/check-news-item.yml +12 -0
- diffpy_srreal-1.5.0/.github/workflows/matrix-and-codecov.yml +22 -0
- diffpy_srreal-1.5.0/.github/workflows/tests-on-pr.yml +16 -0
- diffpy_srreal-1.5.0/.gitignore +93 -0
- diffpy_srreal-1.5.0/.gitmodules +3 -0
- diffpy_srreal-1.5.0/.isort.cfg +5 -0
- diffpy_srreal-1.5.0/.pre-commit-config.yaml +66 -0
- diffpy_srreal-1.5.0/.readthedocs.yaml +13 -0
- diffpy_srreal-1.5.0/CHANGELOG.rst +65 -0
- diffpy_srreal-1.5.0/CMakeLists.txt +145 -0
- diffpy_srreal-1.5.0/CODE-OF-CONDUCT.rst +133 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/LICENSE_DANSE.rst +1 -1
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/PKG-INFO +38 -21
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/README.rst +25 -7
- diffpy_srreal-1.5.0/_build/libdiffpy-version.hpp +84 -0
- diffpy_srreal-1.5.0/cookiecutter.json +20 -0
- diffpy_srreal-1.5.0/devutils/README.md +1 -0
- diffpy_srreal-1.5.0/devutils/generate_legacy_pickle_fixtures.py +136 -0
- {diffpy_srreal-1.4.0/src/diffpy/srreal → diffpy_srreal-1.5.0}/devutils/tunePeakPrecision.py +1 -1
- diffpy_srreal-1.5.0/docs/Makefile +194 -0
- diffpy_srreal-1.5.0/docs/examples/compareC60PDFs.py +39 -0
- diffpy_srreal-1.5.0/docs/examples/compareC60PDFs_objcryst.py +50 -0
- diffpy_srreal-1.5.0/docs/examples/datafiles/menthol.cif +197 -0
- diffpy_srreal-1.5.0/docs/examples/distanceprinter.py +88 -0
- diffpy_srreal-1.5.0/docs/examples/lennardjones/Makefile +6 -0
- diffpy_srreal-1.5.0/docs/examples/lennardjones/README.txt +11 -0
- diffpy_srreal-1.5.0/docs/examples/lennardjones/lj50.xyz +50 -0
- diffpy_srreal-1.5.0/docs/examples/lennardjones/ljcalculator.cpp +67 -0
- diffpy_srreal-1.5.0/docs/examples/lennardjones/ljcalculator.py +59 -0
- diffpy_srreal-1.5.0/docs/examples/parallelPDF.py +104 -0
- diffpy_srreal-1.5.0/docs/make.bat +36 -0
- diffpy_srreal-1.5.0/docs/source/api/diffpy.srreal.rst +151 -0
- diffpy_srreal-1.5.0/docs/source/conf.py +325 -0
- diffpy_srreal-1.5.0/docs/source/examples/compareC60PDFs.rst +7 -0
- diffpy_srreal-1.5.0/docs/source/examples/compareC60PDFs_objcryst.rst +7 -0
- diffpy_srreal-1.5.0/docs/source/examples/distanceprinter.rst +7 -0
- diffpy_srreal-1.5.0/docs/source/examples/parallelPDF.rst +7 -0
- diffpy_srreal-1.5.0/docs/source/examples.rst +22 -0
- diffpy_srreal-1.5.0/docs/source/img/.placeholder +0 -0
- diffpy_srreal-1.5.0/docs/source/index.rst +91 -0
- diffpy_srreal-1.5.0/docs/source/license.rst +149 -0
- diffpy_srreal-1.5.0/docs/source/release.rst +5 -0
- diffpy_srreal-1.5.0/docs/source/snippets/.placeholder +0 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/.clang-format +10 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/.codecov.yml +18 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/.codespell/ignore_lines.txt +2 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/.codespell/ignore_words.txt +14 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/.flake8 +13 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/.gitattributes +4 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/.github/ISSUE_TEMPLATE/bug_feature.md +16 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/.github/ISSUE_TEMPLATE/release_checklist.md +48 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md +15 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/.github/actions/setup-tests/action.yml +33 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/.github/scripts/configure-tests.py +55 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/.github/workflows/build-and-publish-docs-on-dispatch.yml +22 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/.github/workflows/check-news-item.yml +10 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/.github/workflows/matrix-and-codecov.yml +82 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/.github/workflows/release-github-on-tag.yml +46 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/.github/workflows/tests-on-pr.yml +44 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/.gitignore +126 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/.isort.cfg +5 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/.pre-commit-config.yaml +74 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/.readthedocs.yaml +13 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/AUTHORS.rst +10 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/CHANGELOG.rst +117 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/CODE-OF-CONDUCT.rst +133 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/LICENSE.rst +139 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/LICENSE_DANSE.rst +40 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/README.rst +164 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/SConstruct +150 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/cookiecutter.json +20 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/docs/Makefile +194 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/docs/make.bat +36 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/docs/source/_static/.placeholder +0 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/docs/source/conf.py +327 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/docs/source/development.rst +98 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/docs/source/img/.placeholder +0 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/docs/source/index.rst +66 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/docs/source/license.rst +8 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/docs/source/release.rst +5 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/docs/source/snippets/.placeholder +0 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/examples/testlib.cpp +17 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/news/TEMPLATE.rst +23 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/pyproject.toml +32 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/requirements/build.txt +2 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/requirements/conda.txt +3 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/requirements/docs.txt +4 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/requirements/tests.txt +2 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/site_scons/fallback_version.py +11 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/site_scons/gitarchive.cfg +3 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/site_scons/libdiffpybuildutils.py +112 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/site_scons/site_tools/cxxtest.py +396 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/SConscript +271 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/SConscript.configure +64 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/SConscript.sdist +71 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/Attributes.cpp +167 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/Attributes.hpp +182 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/Attributes.ipp +169 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/EventTicker.cpp +89 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/EventTicker.hpp +90 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/Export.hpp +11 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/HasClassRegistry.hpp +95 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/HasClassRegistry.ipp +182 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/SConscript +23 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/SConscript.version +96 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/features.tpl +30 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/mathutils.hpp +101 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/mathutils.ipp +116 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/runtimepath.cpp +185 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/runtimepath.hpp +73 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/serialization.hpp +51 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/serialization.ipp +90 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/AtomRadiiTable.cpp +115 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/AtomRadiiTable.hpp +85 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/AtomUtils.cpp +64 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/AtomUtils.hpp +38 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/AtomicStructureAdapter.cpp +254 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/AtomicStructureAdapter.hpp +164 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/BVParam.cpp +117 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/BVParam.hpp +89 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/BVParametersTable.cpp +169 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/BVParametersTable.hpp +96 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/BVSCalculator.cpp +203 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/BVSCalculator.hpp +102 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/BaseBondGenerator.cpp +200 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/BaseBondGenerator.hpp +102 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/BaseDebyeSum.cpp +250 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/BaseDebyeSum.hpp +119 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/BondCalculator.cpp +253 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/BondCalculator.hpp +125 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/ConstantPeakWidth.cpp +115 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/ConstantPeakWidth.hpp +67 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/ConstantRadiiTable.cpp +78 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/ConstantRadiiTable.hpp +65 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/CroppedGaussianProfile.cpp +88 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/CroppedGaussianProfile.hpp +65 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/CrystalStructureAdapter.cpp +317 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/CrystalStructureAdapter.hpp +163 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/DebyePDFCalculator.cpp +341 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/DebyePDFCalculator.hpp +160 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/DebyeWallerPeakWidth.cpp +75 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/DebyeWallerPeakWidth.hpp +59 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/EmptyStructureAdapter.cpp +99 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/GaussianProfile.cpp +95 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/GaussianProfile.hpp +67 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/JeongPeakWidth.cpp +137 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/JeongPeakWidth.hpp +84 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/Lattice.cpp +277 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/Lattice.hpp +360 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/LinearBaseline.cpp +72 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/LinearBaseline.hpp +68 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/NoMetaStructureAdapter.cpp +126 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/NoMetaStructureAdapter.hpp +88 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/NoSymmetryStructureAdapter.cpp +131 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/NoSymmetryStructureAdapter.hpp +92 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/ObjCrystStructureAdapter.cpp +185 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/ObjCrystStructureAdapter.hpp +58 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/OverlapCalculator.cpp +478 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/OverlapCalculator.hpp +144 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/PDFBaseline.cpp +35 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/PDFBaseline.hpp +63 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/PDFCalculator.cpp +631 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/PDFCalculator.hpp +212 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/PDFEnvelope.cpp +121 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/PDFEnvelope.hpp +105 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/PDFUtils.cpp +93 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/PDFUtils.hpp +78 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/PDFUtils.ipp +130 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/PQEvaluator.cpp +386 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/PQEvaluator.hpp +149 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/PairCounter.cpp +38 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/PairCounter.hpp +54 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/PairQuantity.cpp +404 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/PairQuantity.hpp +178 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/PeakProfile.cpp +59 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/PeakProfile.hpp +79 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/PeakWidthModel.cpp +66 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/PeakWidthModel.hpp +98 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/PeriodicStructureAdapter.cpp +204 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/PeriodicStructureAdapter.hpp +111 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/PointsInSphere.cpp +308 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/PointsInSphere.hpp +238 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/QResolutionEnvelope.cpp +75 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/QResolutionEnvelope.hpp +68 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/QuantityType.hpp +59 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/R3linalg.cpp +120 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/R3linalg.hpp +264 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/SConscript +11 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/SFTElectron.cpp +73 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/SFTElectron.hpp +64 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/SFTElectronNumber.cpp +71 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/SFTElectronNumber.hpp +62 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/SFTNeutron.cpp +73 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/SFTNeutron.hpp +62 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/SFTXray.cpp +72 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/SFTXray.hpp +61 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/ScaleEnvelope.cpp +72 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/ScaleEnvelope.hpp +68 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/ScatteringFactorTable.cpp +142 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/ScatteringFactorTable.hpp +108 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/SphericalShapeEnvelope.cpp +81 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/SphericalShapeEnvelope.hpp +70 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/StepCutEnvelope.cpp +73 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/StepCutEnvelope.hpp +70 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/StructureAdapter.cpp +103 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/StructureAdapter.hpp +169 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/StructureDifference.cpp +63 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/StructureDifference.hpp +68 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/ZeroBaseline.cpp +60 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/ZeroBaseline.hpp +61 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/forwardtypes.hpp +39 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/scatteringfactordata.cpp +365 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/srreal/scatteringfactordata.hpp +52 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/validators.hpp +79 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/version.cpp +30 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/diffpy/version.tpl +84 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/runtime/SConscript +6 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/runtime/bvparm2011sel.cif +1919 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/runtime/f0_WaasKirf.dat +913 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/runtime/ionlist.dat +107 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/runtime/nsftable.dat +400 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tables/bvparm2009.cif +1884 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tables/bvparm2011.cif +1890 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/SConscript +71 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestAtomRadiiTable.hpp +107 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestAtomicStructureAdapter.hpp +144 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestAttributes.hpp +72 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestBVParametersTable.hpp +197 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestBVSCalculator.hpp +150 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestBVSObjCryst.hpp +66 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestDebyePDFCalculator.hpp +313 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestEmptyStructureAdapter.hpp +70 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestHasClassRegistry.hpp +74 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestLattice.hpp +149 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestNoMetaStructureAdapter.hpp +99 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestObjCrystStructureAdapter.hpp +605 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestOverlapCalculator.hpp +322 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestPDFBaseline.hpp +88 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestPDFCalculator.hpp +239 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestPQEvaluator.hpp +264 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestPairCounter.hpp +137 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestPeakProfile.hpp +143 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestPeakWidthModel.hpp +182 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestPeriodicStructureAdapter.hpp +371 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestPointsInSphere.hpp +186 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestR3linalg.hpp +98 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestRuntimePath.hpp +82 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestScatteringFactorTable.hpp +185 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestSphericalShapeEnvelope.hpp +72 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/TestStepCutEnvelope.hpp +73 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/objcryst_helpers.cpp +48 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/objcryst_helpers.hpp +27 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/serialization_helpers.hpp +35 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/test_helpers.cpp +126 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/test_helpers.hpp +31 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/testdata/CaTiO3.cif +95 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/testdata/CaTiO3.stru +129 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/testdata/LiTaO3.cif +97 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/testdata/LiTaO3.stru +189 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/testdata/NH4Br.cif +77 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/testdata/NaCl.cif +267 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/testdata/NaCl.stru +57 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/testdata/NaCl_mixed.cif +269 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/testdata/NaCl_mixed.stru +105 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/testdata/Ni.stru +33 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/testdata/PbScW25TiO3.stru +345 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/testdata/ZnS_wurtzite.cif +57 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/testdata/ZnS_wurtzite.stru +33 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/testdata/alpha_K2Bi8Se13.cif +68 -0
- diffpy_srreal-1.5.0/extern/libdiffpy/src/tests/testdata/alpha_K2Bi8Se13.stru +147 -0
- diffpy_srreal-1.5.0/news/TEMPLATE.rst +23 -0
- diffpy_srreal-1.5.0/news/ay-cleanings.rst +23 -0
- diffpy_srreal-1.5.0/news/citationfix.rst +23 -0
- diffpy_srreal-1.5.0/news/cpp-version-update.rst +24 -0
- diffpy_srreal-1.5.0/news/deprecate-setscattering.rst +23 -0
- diffpy_srreal-1.5.0/news/devutils.rst +23 -0
- diffpy_srreal-1.5.0/news/examples.rst +23 -0
- diffpy_srreal-1.5.0/news/fix-example.rst +23 -0
- diffpy_srreal-1.5.0/news/fix-structure-deprecations.rst +24 -0
- diffpy_srreal-1.5.0/news/libdiffpy-license-rst.rst +23 -0
- diffpy_srreal-1.5.0/news/nanobind-arrays.rst +22 -0
- diffpy_srreal-1.5.0/news/nanobind-build-alignment.rst +22 -0
- diffpy_srreal-1.5.0/news/nanobind-calculation-workflows.rst +34 -0
- diffpy_srreal-1.5.0/news/precommit-deps-update.rst +23 -0
- diffpy_srreal-1.5.0/news/py314.rst +23 -0
- diffpy_srreal-1.5.0/news/remove-custompqconfig.rst +18 -0
- diffpy_srreal-1.5.0/news/remove-setscattering.rst +4 -0
- diffpy_srreal-1.5.0/news/skpkg-update.rst +23 -0
- diffpy_srreal-1.5.0/news/static-wheels.rst +30 -0
- diffpy_srreal-1.5.0/news/wf.rst +23 -0
- diffpy_srreal-1.5.0/news/windows-libdiffpy-submodule.rst +10 -0
- diffpy_srreal-1.5.0/pyproject.toml +145 -0
- diffpy_srreal-1.5.0/requirements/build.txt +0 -0
- diffpy_srreal-1.5.0/requirements/conda.txt +9 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/requirements/docs.txt +1 -1
- diffpy_srreal-1.5.0/requirements/pip.txt +1 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/requirements/tests.txt +1 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/diffpy/__init__.py +1 -8
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/diffpy/srreal/__init__.py +5 -3
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/diffpy/srreal/_cleanup.py +0 -1
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/diffpy/srreal/_final_imports.py +6 -7
- diffpy_srreal-1.5.0/src/diffpy/srreal/_objcrystconverters.py +96 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/diffpy/srreal/atomradiitable.py +3 -3
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/diffpy/srreal/attributes.py +1 -1
- diffpy_srreal-1.5.0/src/diffpy/srreal/bondcalculator.py +77 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/diffpy/srreal/bvparameterstable.py +0 -1
- diffpy_srreal-1.5.0/src/diffpy/srreal/bvscalculator.py +99 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/diffpy/srreal/eventticker.py +0 -1
- diffpy_srreal-1.5.0/src/diffpy/srreal/overlapcalculator.py +86 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/diffpy/srreal/pairquantity.py +0 -1
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/diffpy/srreal/parallel.py +7 -8
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/diffpy/srreal/pdfbaseline.py +4 -3
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/diffpy/srreal/pdfcalculator.py +125 -120
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/diffpy/srreal/pdfenvelope.py +4 -9
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/diffpy/srreal/peakprofile.py +5 -4
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/diffpy/srreal/peakwidthmodel.py +3 -7
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/diffpy/srreal/scatteringfactortable.py +0 -1
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/diffpy/srreal/sfaverage.py +2 -3
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/diffpy/srreal/structureadapter.py +7 -5
- diffpy_srreal-1.5.0/src/diffpy/srreal/structureconverters.py +99 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/diffpy/srreal/version.py +4 -8
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/diffpy/srreal/wraputils.py +4 -4
- diffpy_srreal-1.5.0/src/extensions/srreal_atom.hpp +195 -0
- diffpy_srreal-1.5.0/src/extensions/srreal_converters.cpp +437 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/extensions/srreal_converters.hpp +105 -130
- diffpy_srreal-1.5.0/src/extensions/srreal_ext.cpp +101 -0
- diffpy_srreal-1.5.0/src/extensions/srreal_legacy.hpp +54 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/extensions/srreal_pickling.cpp +0 -13
- diffpy_srreal-1.5.0/src/extensions/srreal_pickling.hpp +631 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/extensions/srreal_registry.cpp +9 -10
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/extensions/srreal_registry.hpp +50 -51
- diffpy_srreal-1.5.0/src/extensions/srreal_trampoline.hpp +29 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/extensions/srreal_validators.cpp +5 -13
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/extensions/srreal_validators.hpp +5 -1
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/extensions/wrap_AtomRadiiTable.cpp +62 -42
- diffpy_srreal-1.5.0/src/extensions/wrap_AtomicStructureAdapter.cpp +934 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/extensions/wrap_Attributes.cpp +33 -26
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/extensions/wrap_BVParametersTable.cpp +143 -77
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/extensions/wrap_BVSCalculator.cpp +15 -12
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/extensions/wrap_BaseBondGenerator.cpp +14 -17
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/extensions/wrap_BondCalculator.cpp +21 -22
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/extensions/wrap_EventTicker.cpp +24 -19
- diffpy_srreal-1.5.0/src/extensions/wrap_ObjCrystAdapters.cpp +41 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/extensions/wrap_OverlapCalculator.cpp +71 -41
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/extensions/wrap_PDFBaseline.cpp +66 -51
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/extensions/wrap_PDFCalculators.cpp +270 -119
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/extensions/wrap_PDFEnvelope.cpp +91 -62
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/extensions/wrap_PairQuantity.cpp +319 -205
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/extensions/wrap_PeakProfile.cpp +78 -54
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/extensions/wrap_PeakWidthModel.cpp +110 -62
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/extensions/wrap_ScatteringFactorTable.cpp +137 -98
- diffpy_srreal-1.5.0/src/extensions/wrap_StructureAdapter.cpp +713 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/extensions/wrap_StructureDifference.cpp +45 -45
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/extensions/wrap_libdiffpy_version.cpp +7 -9
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/conftest.py +0 -4
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/test_atomradiitable.py +0 -1
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/test_attributes.py +1 -3
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/test_bondcalculator.py +3 -3
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/test_bvscalculator.py +4 -4
- diffpy_srreal-1.5.0/tests/test_calculation_callbacks.py +117 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/test_debyepdfcalculator.py +22 -4
- diffpy_srreal-1.5.0/tests/test_objcrystconverters.py +103 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/test_overlapcalculator.py +4 -4
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/test_pairquantity.py +69 -3
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/test_parallel.py +0 -1
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/test_pdfbaseline.py +0 -1
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/test_pdfcalcobjcryst.py +7 -8
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/test_pdfcalculator.py +46 -9
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/test_pdfenvelope.py +0 -1
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/test_peakprofile.py +0 -1
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/test_peakwidthmodel.py +0 -1
- diffpy_srreal-1.5.0/tests/test_python_interfaces.py +161 -0
- diffpy_srreal-1.5.0/tests/test_quantitytype.py +67 -0
- diffpy_srreal-1.5.0/tests/test_saved_calculations.py +262 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/test_scatteringfactortable.py +0 -1
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/test_sfaverage.py +0 -1
- diffpy_srreal-1.5.0/tests/test_structure_lifetimes.py +174 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/test_structureadapter.py +78 -66
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/test_version.py +1 -1
- diffpy_srreal-1.5.0/tests/testdata/C60bucky.stru +65 -0
- diffpy_srreal-1.5.0/tests/testdata/Ni.cif +236 -0
- diffpy_srreal-1.5.0/tests/testdata/boost_python_pickles.json +202 -0
- diffpy_srreal-1.5.0/tests/testdata/sphalerite.cif +128 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/testutils.py +8 -22
- diffpy_srreal-1.5.0/tools/install-vcpkg-deps.ps1 +57 -0
- diffpy_srreal-1.5.0/tools/install-vcpkg-deps.sh +40 -0
- diffpy_srreal-1.5.0/tools/vcpkg-triplets/srreal-arm64-osx.cmake +9 -0
- diffpy_srreal-1.5.0/tools/vcpkg-triplets/srreal-x64-linux.cmake +6 -0
- diffpy_srreal-1.5.0/tools/vcpkg-triplets/srreal-x64-osx.cmake +9 -0
- diffpy_srreal-1.5.0/tools/vcpkg-triplets/srreal-x64-windows.cmake +6 -0
- diffpy_srreal-1.5.0/vcpkg.json +12 -0
- diffpy_srreal-1.4.0/pyproject.toml +0 -85
- diffpy_srreal-1.4.0/requirements/conda.txt +0 -6
- diffpy_srreal-1.4.0/requirements/pip.txt +0 -2
- diffpy_srreal-1.4.0/setup.cfg +0 -4
- diffpy_srreal-1.4.0/setup.py +0 -133
- diffpy_srreal-1.4.0/src/diffpy/srreal/bondcalculator.py +0 -80
- diffpy_srreal-1.4.0/src/diffpy/srreal/bvscalculator.py +0 -98
- diffpy_srreal-1.4.0/src/diffpy/srreal/overlapcalculator.py +0 -88
- diffpy_srreal-1.4.0/src/diffpy/srreal/structureconverters.py +0 -174
- diffpy_srreal-1.4.0/src/diffpy.srreal.egg-info/PKG-INFO +0 -189
- diffpy_srreal-1.4.0/src/diffpy.srreal.egg-info/SOURCES.txt +0 -108
- diffpy_srreal-1.4.0/src/diffpy.srreal.egg-info/dependency_links.txt +0 -1
- diffpy_srreal-1.4.0/src/diffpy.srreal.egg-info/requires.txt +0 -2
- diffpy_srreal-1.4.0/src/diffpy.srreal.egg-info/top_level.txt +0 -1
- diffpy_srreal-1.4.0/src/extensions/srreal_converters.cpp +0 -403
- diffpy_srreal-1.4.0/src/extensions/srreal_ext.cpp +0 -111
- diffpy_srreal-1.4.0/src/extensions/srreal_numpy_symbol.hpp +0 -29
- diffpy_srreal-1.4.0/src/extensions/srreal_pickling.hpp +0 -259
- diffpy_srreal-1.4.0/src/extensions/wrap_AtomicStructureAdapter.cpp +0 -708
- diffpy_srreal-1.4.0/src/extensions/wrap_ObjCrystAdapters.cpp +0 -116
- diffpy_srreal-1.4.0/src/extensions/wrap_StructureAdapter.cpp +0 -583
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/AUTHORS.rst +0 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/LICENSE.rst +0 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/MANIFEST.in +0 -0
- {diffpy_srreal-1.4.0/tests/testdata → diffpy_srreal-1.5.0/docs/examples/datafiles}/C60bucky.stru +0 -0
- {diffpy_srreal-1.4.0/tests/testdata → diffpy_srreal-1.5.0/docs/examples/datafiles}/sphalerite.cif +0 -0
- /diffpy_srreal-1.4.0/requirements/build.txt → /diffpy_srreal-1.5.0/docs/source/_static/.placeholder +0 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0/extern/libdiffpy/src}/tests/testdata/Ni.cif +0 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/diffpy/srreal/_docstrings.py +0 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/src/extensions/srreal_converters.ipp +0 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/testdata/CdSe_cadmoselite.cif +0 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/testdata/CdSe_cadmoselite_N.fgr +0 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/testdata/CdSe_cadmoselite_X.fgr +0 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/testdata/Ni-fit.fgr +0 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/testdata/Ni.stru +0 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/testdata/Ni_primitive.stru +0 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/testdata/TiO2_rutile-fit.cif +0 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/testdata/TiO2_rutile-fit.fgr +0 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/testdata/TiO2_rutile-fit.stru +0 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/testdata/rutile.cif +0 -0
- {diffpy_srreal-1.4.0 → diffpy_srreal-1.5.0}/tests/testdata/silicon.cif +0 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
coverage:
|
|
2
|
+
status:
|
|
3
|
+
project: # more options at https://docs.codecov.com/docs/commit-status
|
|
4
|
+
default:
|
|
5
|
+
target: auto # use the coverage from the base commit, fail if coverage is lower
|
|
6
|
+
threshold: 0% # allow the coverage to drop by
|
|
7
|
+
|
|
8
|
+
comment:
|
|
9
|
+
layout: " diff, flags, files"
|
|
10
|
+
behavior: default
|
|
11
|
+
require_changes: false
|
|
12
|
+
require_base: false # [true :: must have a base report to post]
|
|
13
|
+
require_head: false # [true :: must have a head report to post]
|
|
14
|
+
hide_project_coverage: false # [true :: only show coverage on the git diff aka patch coverage]
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
;; Please include explanations for each ignored word (lowercase).
|
|
2
|
+
;; See https://docs.openverse.org/meta/codespell.html for docs.
|
|
3
|
+
|
|
4
|
+
;; abbreviation for "materials" often used in a journal title
|
|
5
|
+
mater
|
|
6
|
+
|
|
7
|
+
;; Frobenius norm used in np.linalg.norm
|
|
8
|
+
fro
|
|
9
|
+
|
|
10
|
+
;; structure file format
|
|
11
|
+
discus
|
|
12
|
+
|
|
13
|
+
;; variable name within pdfbaseline module
|
|
14
|
+
aline
|
|
15
|
+
|
|
16
|
+
;; variable name within TestSFAverageObjCryst class
|
|
17
|
+
fo
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# As of now, flake8 does not natively support configuration via pyproject.toml
|
|
2
|
+
# https://github.com/microsoft/vscode-flake8/issues/135
|
|
3
|
+
[flake8]
|
|
4
|
+
exclude =
|
|
5
|
+
.git,
|
|
6
|
+
__pycache__,
|
|
7
|
+
build,
|
|
8
|
+
dist,
|
|
9
|
+
docs/source/conf.py
|
|
10
|
+
max-line-length = 79
|
|
11
|
+
# Ignore some style 'errors' produced while formatting by 'black'
|
|
12
|
+
# https://black.readthedocs.io/en/stable/guides/using_black_with_other_tools.html#labels-why-pycodestyle-warnings
|
|
13
|
+
extend-ignore = E203
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Bug Report or Feature Request
|
|
3
|
+
about: Report a bug or suggest a new feature!
|
|
4
|
+
title: ""
|
|
5
|
+
labels: ""
|
|
6
|
+
assignees: ""
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
### Problem
|
|
10
|
+
|
|
11
|
+
<!--
|
|
12
|
+
For a bug report, please copy and paste any error messages from the application or command-line here.
|
|
13
|
+
For a feature request, please state how the new functionality could benefit the community.
|
|
14
|
+
-->
|
|
15
|
+
|
|
16
|
+
### Proposed solution
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Release
|
|
3
|
+
about: Checklist and communication channel for PyPI and GitHub release
|
|
4
|
+
title: "Ready for <version-number> PyPI/GitHub release"
|
|
5
|
+
labels: "release"
|
|
6
|
+
assignees: ""
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
### PyPI/GitHub rc-release preparation checklist:
|
|
10
|
+
|
|
11
|
+
- [ ] All PRs/issues attached to the release are merged.
|
|
12
|
+
- [ ] All the badges on the README are passing.
|
|
13
|
+
- [ ] License information is verified as correct. If you are unsure, please comment below.
|
|
14
|
+
- [ ] Locally rendered documentation contains all appropriate pages, tutorials, and other human-written text is up-to-date with any changes in the code.
|
|
15
|
+
- [ ] All API references are included. To check this, run `conda install scikit-package` and then `package build api-doc`. Review any edits made by rerendering the docs locally.
|
|
16
|
+
- [ ] Installation instructions in the README, documentation, and the website are updated.
|
|
17
|
+
- [ ] Successfully run any tutorial examples or do functional testing with the latest Python version.
|
|
18
|
+
- [ ] Grammar and writing quality are checked (no typos).
|
|
19
|
+
- [ ] Install `pip install build twine`, run `python -m build` and `twine check dist/*` to ensure that the package can be built and is correctly formatted for PyPI release.
|
|
20
|
+
- [ ] Dispatch matrix testing to test the release on all Python versions and systems. If you do not have permission to run this workflow, tag the maintainer and say `@maintainer, please dispatch matrix testing workflow`.
|
|
21
|
+
|
|
22
|
+
Please tag the maintainer (e.g., @username) in the comment here when you are ready for the PyPI/GitHub release. Include any additional comments necessary, such as version information and details about the pre-release here:
|
|
23
|
+
|
|
24
|
+
### PyPI/GitHub full-release preparation checklist:
|
|
25
|
+
|
|
26
|
+
- [ ] Create a new conda environment and install the rc from PyPI (`pip install <package-name>==??`)
|
|
27
|
+
- [ ] License information on PyPI is correct.
|
|
28
|
+
- [ ] Docs are deployed successfully to `https://<github-username-or-orgname>/<package-name>`.
|
|
29
|
+
- [ ] Successfully run all tests, tutorial examples or do functional testing.
|
|
30
|
+
|
|
31
|
+
Please let the maintainer know that all checks are done and the package is ready for full release.
|
|
32
|
+
|
|
33
|
+
### conda-forge release preparation checklist:
|
|
34
|
+
|
|
35
|
+
<!-- After the maintainer releases the PyPI package, please check the following when creating a PR for conda-forge release.-->
|
|
36
|
+
|
|
37
|
+
- [ ] Ensure that the full release has appeared on PyPI successfully.
|
|
38
|
+
- [ ] New package dependencies listed in `conda.txt` and `tests.txt` are added to `meta.yaml` in the feedstock.
|
|
39
|
+
- [ ] Close any open issues on the feedstock. Reach out to the maintainer if you have questions.
|
|
40
|
+
- [ ] Tag the maintainer for conda-forge release.
|
|
41
|
+
|
|
42
|
+
### Post-release checklist
|
|
43
|
+
|
|
44
|
+
<!-- Before closing this issue, please complete the following: -->
|
|
45
|
+
|
|
46
|
+
- [ ] Run tutorial examples and conduct functional testing using the installation guide in the README. Attach screenshots/results as comments.
|
|
47
|
+
- [ ] Documentation (README, tutorials, API references, and websites) is deployed without broken links or missing figures.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
### What problem does this PR address?
|
|
2
|
+
|
|
3
|
+
<!-- Provide a brief overview and link to the issue. Attach outputs, including screenshots (before/after), if helpful for the reviewer. -->
|
|
4
|
+
|
|
5
|
+
### What should the reviewer(s) do?
|
|
6
|
+
|
|
7
|
+
<!-- Merge the code, provide feedback, initiate a discussion, etc. -->
|
|
8
|
+
|
|
9
|
+
<!--
|
|
10
|
+
Use the following checklist items when applicable (select only what applies):
|
|
11
|
+
- [ ] This PR introduces a public-facing change (e.g., figures, CLI input/output, API).
|
|
12
|
+
- [ ] Documentation (e.g., tutorials, examples, README) has been updated.
|
|
13
|
+
- [ ] A tracking issue or plan to update documentation exists.
|
|
14
|
+
- [ ] This PR affects internal functionality only (no user-facing change).
|
|
15
|
+
-->
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name: Build and Publish Docs on Dispatch
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
get-python-version:
|
|
8
|
+
uses: scikit-package/release-scripts/.github/workflows/_get-python-version-latest.yml@v0
|
|
9
|
+
with:
|
|
10
|
+
python_version: 0
|
|
11
|
+
|
|
12
|
+
docs:
|
|
13
|
+
needs: get-python-version
|
|
14
|
+
uses: scikit-package/release-scripts/.github/workflows/_release-docs.yml@v0
|
|
15
|
+
with:
|
|
16
|
+
project: diffpy.srreal
|
|
17
|
+
submodules: recursive
|
|
18
|
+
c_extension: true
|
|
19
|
+
headless: false
|
|
20
|
+
python_version: ${{ fromJSON(needs.get-python-version.outputs.latest_python_version) }}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
name: Build Wheel and Release
|
|
2
|
+
|
|
3
|
+
# Trigger on tag push or manual dispatch.
|
|
4
|
+
# Tag and release privilege are verified by the check-* jobs below.
|
|
5
|
+
on:
|
|
6
|
+
workflow_dispatch:
|
|
7
|
+
push:
|
|
8
|
+
tags:
|
|
9
|
+
- "*"
|
|
10
|
+
|
|
11
|
+
# ── Release modality ──────────────────────────────────────────────────────────
|
|
12
|
+
# Three options are provided below. Only ONE option should be active at a time.
|
|
13
|
+
# To switch: comment out the active jobs and uncomment your preferred option,
|
|
14
|
+
# then commit the change to main before tagging a release.
|
|
15
|
+
# ─────────────────────────────────────────────────────────────────────────────
|
|
16
|
+
|
|
17
|
+
jobs:
|
|
18
|
+
# Option 1 (default): Release to GitHub, publish to PyPI, and deploy docs.
|
|
19
|
+
#
|
|
20
|
+
# The sdist and wheels are uploaded to PyPI so users can install with
|
|
21
|
+
# `pip install`. A GitHub release is created with the changelog as the
|
|
22
|
+
# release body, and the Sphinx documentation is rebuilt and deployed to
|
|
23
|
+
# GitHub Pages.
|
|
24
|
+
#
|
|
25
|
+
# The wheels come from build-wheels.yml rather than the shared
|
|
26
|
+
# scikit-package workflow: they link Boost and GSL statically, so they
|
|
27
|
+
# work without a conda environment.
|
|
28
|
+
check-tag-privilege:
|
|
29
|
+
uses: scikit-package/release-scripts/.github/workflows/_check-tag-privilege.yml@v0
|
|
30
|
+
with:
|
|
31
|
+
maintainer_github_username: sbillinge
|
|
32
|
+
|
|
33
|
+
check-pat-token-validity:
|
|
34
|
+
uses: scikit-package/release-scripts/.github/workflows/_check-pat-token-validity.yml@v0
|
|
35
|
+
secrets:
|
|
36
|
+
PAT_TOKEN: ${{ secrets.PAT_TOKEN }}
|
|
37
|
+
|
|
38
|
+
check-pypi-token-validity:
|
|
39
|
+
uses: scikit-package/release-scripts/.github/workflows/_check-pypi-token-validity.yml@v0
|
|
40
|
+
secrets:
|
|
41
|
+
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
|
|
42
|
+
|
|
43
|
+
get-python-version:
|
|
44
|
+
needs:
|
|
45
|
+
[check-tag-privilege, check-pat-token-validity, check-pypi-token-validity]
|
|
46
|
+
uses: scikit-package/release-scripts/.github/workflows/_get-python-version-latest.yml@v0
|
|
47
|
+
|
|
48
|
+
build-wheels:
|
|
49
|
+
needs:
|
|
50
|
+
[check-tag-privilege, check-pat-token-validity, check-pypi-token-validity]
|
|
51
|
+
uses: ./.github/workflows/build-wheels.yml
|
|
52
|
+
|
|
53
|
+
release-github:
|
|
54
|
+
needs: [build-wheels]
|
|
55
|
+
uses: scikit-package/release-scripts/.github/workflows/_release-github.yml@v0
|
|
56
|
+
secrets:
|
|
57
|
+
PAT_TOKEN: ${{ secrets.PAT_TOKEN }}
|
|
58
|
+
|
|
59
|
+
# Uploads every artifact of this run: the sdist and all wheels.
|
|
60
|
+
release-pypi:
|
|
61
|
+
needs: [release-github, get-python-version]
|
|
62
|
+
uses: scikit-package/release-scripts/.github/workflows/_release-pypi.yml@v0
|
|
63
|
+
with:
|
|
64
|
+
python_version: ${{ fromJSON(needs.get-python-version.outputs.latest_python_version) }}
|
|
65
|
+
secrets:
|
|
66
|
+
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
|
|
67
|
+
|
|
68
|
+
docs-release:
|
|
69
|
+
needs: [release-github, get-python-version]
|
|
70
|
+
uses: scikit-package/release-scripts/.github/workflows/_release-docs.yml@v0
|
|
71
|
+
with:
|
|
72
|
+
submodules: recursive
|
|
73
|
+
project: diffpy.srreal
|
|
74
|
+
c_extension: true
|
|
75
|
+
python_version: ${{ fromJSON(needs.get-python-version.outputs.latest_python_version) }}
|
|
76
|
+
|
|
77
|
+
# Option 2: Release to GitHub and deploy docs, without publishing to PyPI.
|
|
78
|
+
#
|
|
79
|
+
# A GitHub release is created and the Sphinx docs are deployed, but the
|
|
80
|
+
# wheel is not uploaded to PyPI. The source code remains publicly visible
|
|
81
|
+
# on GitHub and can be installed directly from there.
|
|
82
|
+
#
|
|
83
|
+
# Choose this when the package is public but you prefer to keep it off the
|
|
84
|
+
# default pip index — for example, if you distribute via conda-forge only,
|
|
85
|
+
# or if the package is not yet ready for a permanent PyPI presence.
|
|
86
|
+
#
|
|
87
|
+
# To use: comment out Option 1 above and uncomment the lines below.
|
|
88
|
+
# build-release-no-pypi:
|
|
89
|
+
# uses: scikit-package/release-scripts/.github/workflows/_build-release-github-no-pypi.yml@v0
|
|
90
|
+
# with:
|
|
91
|
+
# project: diffpy.srreal
|
|
92
|
+
# c_extension: true
|
|
93
|
+
# maintainer_github_username: sbillinge
|
|
94
|
+
# secrets:
|
|
95
|
+
# PAT_TOKEN: ${{ secrets.PAT_TOKEN }}
|
|
96
|
+
|
|
97
|
+
# Option 3: Release to GitHub with wheel, license, and instructions bundled
|
|
98
|
+
# as a downloadable zip attached to the GitHub release asset.
|
|
99
|
+
#
|
|
100
|
+
# The wheel is built and packaged together with INSTRUCTIONS.txt and the
|
|
101
|
+
# LICENSE file into a zip that is attached directly to the GitHub release.
|
|
102
|
+
# Users with access to the (private) repo download the zip, follow the
|
|
103
|
+
# instructions inside, and install locally with pip. No PyPI or conda-forge
|
|
104
|
+
# upload occurs, and no docs are deployed.
|
|
105
|
+
#
|
|
106
|
+
# Choose this for private or restricted packages where distribution must be
|
|
107
|
+
# controlled: only users with repo access can download the release asset,
|
|
108
|
+
# making the GitHub release itself the distribution channel.
|
|
109
|
+
#
|
|
110
|
+
# To use: comment out Option 1 above and uncomment the lines below.
|
|
111
|
+
# build-release-private:
|
|
112
|
+
# uses: scikit-package/release-scripts/.github/workflows/_build-release-github-private-pure.yml@v0
|
|
113
|
+
# with:
|
|
114
|
+
# project: diffpy.srreal
|
|
115
|
+
# maintainer_github_username: sbillinge
|
|
116
|
+
# secrets:
|
|
117
|
+
# PAT_TOKEN: ${{ secrets.PAT_TOKEN }}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
name: Build Wheels
|
|
2
|
+
|
|
3
|
+
# Builds the sdist and self-contained wheels (Boost and GSL linked
|
|
4
|
+
# statically, see [tool.cibuildwheel] in pyproject.toml). Called by the
|
|
5
|
+
# release workflow; run it manually to check the wheels before tagging.
|
|
6
|
+
on:
|
|
7
|
+
workflow_call:
|
|
8
|
+
workflow_dispatch:
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
build-sdist:
|
|
12
|
+
name: Build sdist
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
steps:
|
|
15
|
+
- name: Check out
|
|
16
|
+
uses: actions/checkout@v6
|
|
17
|
+
with:
|
|
18
|
+
submodules: recursive
|
|
19
|
+
fetch-depth: 0
|
|
20
|
+
|
|
21
|
+
- name: Set up Python
|
|
22
|
+
uses: actions/setup-python@v5
|
|
23
|
+
with:
|
|
24
|
+
python-version: "3.14"
|
|
25
|
+
|
|
26
|
+
- name: Build sdist
|
|
27
|
+
run: |
|
|
28
|
+
python -m pip install --upgrade build
|
|
29
|
+
python -m build --sdist
|
|
30
|
+
|
|
31
|
+
- uses: actions/upload-artifact@v4
|
|
32
|
+
with:
|
|
33
|
+
name: cibw-sdist
|
|
34
|
+
path: dist/*.tar.gz
|
|
35
|
+
|
|
36
|
+
build-wheels:
|
|
37
|
+
name: Build wheels on ${{ matrix.os }}
|
|
38
|
+
runs-on: ${{ matrix.os }}
|
|
39
|
+
strategy:
|
|
40
|
+
fail-fast: false
|
|
41
|
+
matrix:
|
|
42
|
+
os:
|
|
43
|
+
- ubuntu-latest
|
|
44
|
+
- macos-15-intel
|
|
45
|
+
- macos-latest
|
|
46
|
+
- windows-latest
|
|
47
|
+
steps:
|
|
48
|
+
- name: Check out
|
|
49
|
+
uses: actions/checkout@v6
|
|
50
|
+
with:
|
|
51
|
+
submodules: recursive
|
|
52
|
+
fetch-depth: 0
|
|
53
|
+
|
|
54
|
+
- name: Build and test wheels
|
|
55
|
+
uses: pypa/cibuildwheel@v4.3.5
|
|
56
|
+
|
|
57
|
+
- uses: actions/upload-artifact@v4
|
|
58
|
+
with:
|
|
59
|
+
name: cibw-wheels-${{ matrix.os }}
|
|
60
|
+
path: wheelhouse/*.whl
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
name: Check for News
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request_target:
|
|
5
|
+
branches:
|
|
6
|
+
- main # GitHub does not evaluate expressions in trigger filters; edit this value if your base branch is not main
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
check-news-item:
|
|
10
|
+
uses: scikit-package/release-scripts/.github/workflows/_check-news-item.yml@v0
|
|
11
|
+
with:
|
|
12
|
+
project: diffpy.srreal
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
name: Matrix and Codecov
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
# push:
|
|
5
|
+
# branches:
|
|
6
|
+
# - main
|
|
7
|
+
release:
|
|
8
|
+
types:
|
|
9
|
+
- prereleased
|
|
10
|
+
- published
|
|
11
|
+
workflow_dispatch:
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
matrix-coverage:
|
|
15
|
+
uses: scikit-package/release-scripts/.github/workflows/_matrix-and-codecov-on-merge-to-main.yml@v0
|
|
16
|
+
with:
|
|
17
|
+
project: diffpy.srreal
|
|
18
|
+
submodules: recursive
|
|
19
|
+
c_extension: true
|
|
20
|
+
headless: false
|
|
21
|
+
secrets:
|
|
22
|
+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
name: Tests on PR
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
workflow_dispatch:
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
tests-on-pr:
|
|
9
|
+
uses: scikit-package/release-scripts/.github/workflows/_tests-on-pr.yml@v0
|
|
10
|
+
with:
|
|
11
|
+
project: diffpy.srreal
|
|
12
|
+
submodules: recursive
|
|
13
|
+
c_extension: true
|
|
14
|
+
headless: false
|
|
15
|
+
secrets:
|
|
16
|
+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
env/
|
|
12
|
+
build/
|
|
13
|
+
_build/
|
|
14
|
+
develop-eggs/
|
|
15
|
+
dist/
|
|
16
|
+
downloads/
|
|
17
|
+
eggs/
|
|
18
|
+
.eggs/
|
|
19
|
+
lib/
|
|
20
|
+
lib64/
|
|
21
|
+
parts/
|
|
22
|
+
sdist/
|
|
23
|
+
var/
|
|
24
|
+
venv/
|
|
25
|
+
*.egg-info/
|
|
26
|
+
.installed.cfg
|
|
27
|
+
*.egg
|
|
28
|
+
bin/
|
|
29
|
+
temp/
|
|
30
|
+
tags/
|
|
31
|
+
errors.err
|
|
32
|
+
|
|
33
|
+
# PyInstaller
|
|
34
|
+
# Usually these files are written by a python script from a template
|
|
35
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
36
|
+
*.manifest
|
|
37
|
+
*.spec
|
|
38
|
+
|
|
39
|
+
# Installer logs
|
|
40
|
+
pip-log.txt
|
|
41
|
+
pip-delete-this-directory.txt
|
|
42
|
+
MANIFEST
|
|
43
|
+
|
|
44
|
+
# Unit test / coverage reports
|
|
45
|
+
htmlcov/
|
|
46
|
+
.tox/
|
|
47
|
+
.coverage
|
|
48
|
+
.coverage.*
|
|
49
|
+
.cache
|
|
50
|
+
nosetests.xml
|
|
51
|
+
coverage.xml
|
|
52
|
+
*,cover
|
|
53
|
+
.hypothesis/
|
|
54
|
+
|
|
55
|
+
# Translations
|
|
56
|
+
*.mo
|
|
57
|
+
*.pot
|
|
58
|
+
|
|
59
|
+
# Mr Developer
|
|
60
|
+
.mr.developer.cfg
|
|
61
|
+
.project
|
|
62
|
+
.pydevproject
|
|
63
|
+
|
|
64
|
+
# Django stuff:
|
|
65
|
+
*.log
|
|
66
|
+
|
|
67
|
+
# Sphinx documentation
|
|
68
|
+
docs/build/
|
|
69
|
+
docs/source/generated/
|
|
70
|
+
|
|
71
|
+
# pytest
|
|
72
|
+
.pytest_cache/
|
|
73
|
+
|
|
74
|
+
# PyBuilder
|
|
75
|
+
target/
|
|
76
|
+
|
|
77
|
+
# Editor files
|
|
78
|
+
# mac
|
|
79
|
+
.DS_Store
|
|
80
|
+
*~
|
|
81
|
+
|
|
82
|
+
# vim
|
|
83
|
+
*.swp
|
|
84
|
+
*.swo
|
|
85
|
+
|
|
86
|
+
# pycharm
|
|
87
|
+
.idea/
|
|
88
|
+
|
|
89
|
+
# VSCode
|
|
90
|
+
.vscode/
|
|
91
|
+
|
|
92
|
+
# Ipython Notebook
|
|
93
|
+
.ipynb_checkpoints
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
default_language_version:
|
|
2
|
+
python: python3
|
|
3
|
+
ci:
|
|
4
|
+
autofix_commit_msg: |
|
|
5
|
+
[pre-commit.ci] auto fixes from pre-commit hooks
|
|
6
|
+
autofix_prs: true
|
|
7
|
+
autoupdate_branch: "pre-commit-autoupdate"
|
|
8
|
+
autoupdate_commit_msg: "[pre-commit.ci] pre-commit autoupdate"
|
|
9
|
+
autoupdate_schedule: monthly
|
|
10
|
+
skip: [no-commit-to-branch]
|
|
11
|
+
submodules: false
|
|
12
|
+
repos:
|
|
13
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
14
|
+
rev: v6.0.0
|
|
15
|
+
hooks:
|
|
16
|
+
- id: check-yaml
|
|
17
|
+
- id: end-of-file-fixer
|
|
18
|
+
- id: trailing-whitespace
|
|
19
|
+
- id: check-case-conflict
|
|
20
|
+
- id: check-merge-conflict
|
|
21
|
+
- id: check-toml
|
|
22
|
+
- id: check-added-large-files
|
|
23
|
+
- repo: https://github.com/psf/black
|
|
24
|
+
rev: 26.3.1
|
|
25
|
+
hooks:
|
|
26
|
+
- id: black
|
|
27
|
+
- repo: https://github.com/pycqa/flake8
|
|
28
|
+
rev: 7.3.0
|
|
29
|
+
hooks:
|
|
30
|
+
- id: flake8
|
|
31
|
+
- repo: https://github.com/pycqa/isort
|
|
32
|
+
rev: 9.0.0a3
|
|
33
|
+
hooks:
|
|
34
|
+
- id: isort
|
|
35
|
+
args: ["--profile", "black"]
|
|
36
|
+
- repo: https://github.com/kynan/nbstripout
|
|
37
|
+
rev: 0.9.1
|
|
38
|
+
hooks:
|
|
39
|
+
- id: nbstripout
|
|
40
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
41
|
+
rev: v6.0.0
|
|
42
|
+
hooks:
|
|
43
|
+
- id: no-commit-to-branch
|
|
44
|
+
name: Prevent Commit to Main Branch
|
|
45
|
+
args: ["--branch", "main"]
|
|
46
|
+
stages: [pre-commit]
|
|
47
|
+
- repo: https://github.com/codespell-project/codespell
|
|
48
|
+
rev: v2.4.2
|
|
49
|
+
hooks:
|
|
50
|
+
- id: codespell
|
|
51
|
+
additional_dependencies:
|
|
52
|
+
- tomli
|
|
53
|
+
# prettier - multi formatter for .json, .yml, and .md files
|
|
54
|
+
- repo: https://github.com/pre-commit/mirrors-prettier
|
|
55
|
+
rev: v4.0.0-alpha.8
|
|
56
|
+
hooks:
|
|
57
|
+
- id: prettier
|
|
58
|
+
additional_dependencies:
|
|
59
|
+
- "prettier@^3.2.4"
|
|
60
|
+
# docformatter - PEP 257 compliant docstring formatter
|
|
61
|
+
- repo: https://github.com/PyCQA/docformatter
|
|
62
|
+
rev: v1.7.8
|
|
63
|
+
hooks:
|
|
64
|
+
- id: docformatter
|
|
65
|
+
additional_dependencies: [tomli]
|
|
66
|
+
args: [--in-place, --config, ./pyproject.toml]
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
=============
|
|
2
|
+
Release notes
|
|
3
|
+
=============
|
|
4
|
+
|
|
5
|
+
.. current developments
|
|
6
|
+
|
|
7
|
+
1.4.0
|
|
8
|
+
=====
|
|
9
|
+
|
|
10
|
+
**Added:**
|
|
11
|
+
|
|
12
|
+
* Update linelength to sk-package standard of 79 characters.
|
|
13
|
+
|
|
14
|
+
**Changed:**
|
|
15
|
+
|
|
16
|
+
* Renamed CODE_OF_CONDUCTS.rst to CODE-OF-CONDUCTS.rst, doc folder to docs, and requirements/test.txt to requirements/tests.txt
|
|
17
|
+
|
|
18
|
+
**Fixed:**
|
|
19
|
+
|
|
20
|
+
* Configure ``black`` to have a linelength requirement of 79 characters.
|
|
21
|
+
* Update requirements to use full release `libdiffpy` and remove wrong build dependencies.
|
|
22
|
+
* Support ``scikit-package`` Level 5 standard (https://scikit-package.github.io/scikit-package/).
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
Version 1.3.0 2019-03-13
|
|
27
|
+
=========================
|
|
28
|
+
|
|
29
|
+
Main differences from version 1.2.
|
|
30
|
+
|
|
31
|
+
**Added:**
|
|
32
|
+
|
|
33
|
+
* Support for Python 3.7, 3.6, 3.5 in addition to 2.7.
|
|
34
|
+
* Validation of compiler options from `python-config`.
|
|
35
|
+
* Make scons scripts compatible with Python 3 and Python 2.
|
|
36
|
+
* `ConstantPeakWidth` attributes `uisowidth`, `bisowidth` to ease
|
|
37
|
+
PDF simulation with uniform isotropic atom displacements.
|
|
38
|
+
|
|
39
|
+
**Changed:**
|
|
40
|
+
|
|
41
|
+
* Require libdiffpy 1.4 or later.
|
|
42
|
+
* Build Anaconda package with Anaconda C++ compiler.
|
|
43
|
+
* Allow language standard c++11.
|
|
44
|
+
* Pickle format for `PDFCalculator`, `DebyePDFCalculator`,
|
|
45
|
+
`OverlapCalculator`, `PeakWidthModel`, `PeakProfile`, `PDFEnvelope`,
|
|
46
|
+
`PDFBaseline`, and `ScatteringFactorTable` objects.
|
|
47
|
+
|
|
48
|
+
**Deprecated:**
|
|
49
|
+
|
|
50
|
+
* Variable `__gitsha__` in the `version` module renamed to `__git_commit__`.
|
|
51
|
+
* `libdiffpy_version_info` attribute `git_sha` renamed to `git_commit`.
|
|
52
|
+
|
|
53
|
+
**Removed**
|
|
54
|
+
|
|
55
|
+
* Unused method `BVParam.__hash__`.
|
|
56
|
+
* Disable pickling of `BasePairQuantity` as it is in effect abstract.
|
|
57
|
+
* Pickling of Python-added attributes to exported C++ classes.
|
|
58
|
+
* Function `get_libdiffpy_version_info` from the `version` module.
|
|
59
|
+
|
|
60
|
+
**Fixed**
|
|
61
|
+
|
|
62
|
+
* Return value conversion of `CrystalStructureAdapter` methods
|
|
63
|
+
`expandLatticeAtom` and `getEquivalentAtoms` methods.
|
|
64
|
+
Make them return a `list` of `Atom` objects.
|
|
65
|
+
* Name suffix resolution of `boost_python` shared library.
|