Skip to content

Commit dfc7e55

Browse files
committed
fix: revert necessary files that were modified
1 parent 4ab9112 commit dfc7e55

File tree

7 files changed

+25
-72
lines changed

7 files changed

+25
-72
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ classifiers = [
3232
'Topic :: Scientific/Engineering :: Chemistry',
3333
]
3434

35+
[project.scripts]
36+
"diffpy.morph" = "diffpy.morph.morphapp:main"
37+
3538
[project.urls]
3639
Homepage = "https://github.com/diffpy/diffpy.morph/"
3740
Issues = "https://github.com/diffpy/diffpy.morph/issues/"
@@ -54,7 +57,7 @@ dependencies = {file = ["requirements/pip.txt"]}
5457
[tool.codespell]
5558
exclude-file = ".codespell/ignore_lines.txt"
5659
ignore-words = ".codespell/ignore_words.txt"
57-
skip = "*.cif,*.dat"
60+
skip = "*.cif,*.dat,*agr"
5861

5962
[tool.black]
6063
line-length = 79

requirements/conda.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
numpy
2+
scipy
3+
diffpy.utils
4+
matplotlib-base
5+
bg-mpl-stylesheets

requirements/pip.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
11
numpy
2+
scipy
3+
diffpy.utils
4+
matplotlib
5+
bg-mpl-stylesheets

src/diffpy/__init__.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,13 @@
1212
# See LICENSE.rst for license information.
1313
#
1414
##############################################################################
15+
16+
"""morph - tools for manipulating and comparing PDF data.
17+
"""
18+
19+
20+
from pkgutil import extend_path
21+
22+
__path__ = extend_path(__path__, __name__)
23+
24+
# End of file

src/diffpy/morph/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
##############################################################################
1515
"""Python package for manipulating and comparing PDF profiles."""
1616

17+
# key used when saving multiple morphs
18+
__save_morph_as__ = "save_morph_as"
19+
1720
# package version
1821
from diffpy.morph.version import __version__ # noqa
1922

src/diffpy/morph/functions.py

Lines changed: 0 additions & 31 deletions
This file was deleted.

tests/test_functions.py

Lines changed: 0 additions & 40 deletions
This file was deleted.

0 commit comments

Comments
 (0)