Skip to content

Commit

Permalink
moved resample out of parsers
Browse files Browse the repository at this point in the history
  • Loading branch information
Alison Wu authored and Alison Wu committed Nov 7, 2024
1 parent 0b90f3e commit 0d6b1b8
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 9 deletions.
23 changes: 23 additions & 0 deletions news/resample-relocation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
**Added:**

* <news item>

**Changed:**

* Moved resampler out of parsers, new path is diffpy.utils.resample

**Deprecated:**

* <news item>

**Removed:**

* <news item>

**Fixed:**

* <news item>

**Security:**

* <news item>
8 changes: 0 additions & 8 deletions src/diffpy/utils/parsers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/test_resample.py
Original file line number Diff line number Diff line change
@@ -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():
Expand Down

0 comments on commit 0d6b1b8

Please sign in to comment.