diff --git a/news/resample-relocation.rst b/news/resample-relocation.rst new file mode 100644 index 00000000..f8ffaf7f --- /dev/null +++ b/news/resample-relocation.rst @@ -0,0 +1,23 @@ +**Added:** + +* + +**Changed:** + +* Moved resampler out of parsers, new path is diffpy.utils.resample + +**Deprecated:** + +* + +**Removed:** + +* + +**Fixed:** + +* + +**Security:** + +* diff --git a/src/diffpy/utils/parsers/__init__.py b/src/diffpy/utils/parsers/__init__.py index a2104181..cd95dd63 100644 --- a/src/diffpy/utils/parsers/__init__.py +++ b/src/diffpy/utils/parsers/__init__.py @@ -16,12 +16,4 @@ """Various utilities related to data parsing and manipulation. """ -from .loaddata import loadData -from .resample import resample -from .serialization import deserialize_data, serialize_data - -# silence the pyflakes syntax checker -assert loadData or resample or True -assert serialize_data or deserialize_data or True - # End of file diff --git a/src/diffpy/utils/parsers/resample.py b/src/diffpy/utils/resample.py similarity index 100% rename from src/diffpy/utils/parsers/resample.py rename to src/diffpy/utils/resample.py diff --git a/tests/test_resample.py b/tests/test_resample.py index fa9c7e70..cdaee0ae 100644 --- a/tests/test_resample.py +++ b/tests/test_resample.py @@ -1,7 +1,7 @@ import numpy as np import pytest -from diffpy.utils.parsers.resample import wsinterp +from diffpy.utils.resample import wsinterp def test_wsinterp():