Skip to content

Commit cf6298a

Browse files
committed
changing imports to diffpy.srxconfutils to match new structure
1 parent 95a5cca commit cf6298a

File tree

7 files changed

+7
-42
lines changed

7 files changed

+7
-42
lines changed

docs/source/api/diffpy.confutils.rst

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

docs/source/api/diffpy.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ diffpy Package
33

44
.. toctree::
55

6-
diffpy.confutils
76
diffpy.srxplanar

src/diffpy/srxplanar/calculate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import numpy as np
1717
import scipy.ndimage.filters as snf
1818

19-
from diffpy.confutils.tools import _configPropertyR
19+
from diffpy.srxconfutils.tools import _configPropertyR
2020

2121

2222
class Calculate(object):

src/diffpy/srxplanar/loadimage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
import numpy as np
2121

22-
from diffpy.confutils.tools import _configPropertyR
22+
from diffpy.srxconfutils.tools import _configPropertyR
2323

2424
try:
2525
import fabio

src/diffpy/srxplanar/mask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def openImage(im):
4040
import scipy.ndimage.filters as snf
4141
import scipy.ndimage.morphology as snm
4242

43-
from diffpy.confutils.tools import _configPropertyR
43+
from diffpy.srxconfutils.tools import _configPropertyR
4444

4545

4646
class Mask(object):

src/diffpy/srxplanar/saveresults.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
import numpy as np
1919

20-
from diffpy.confutils.tools import _configPropertyR
20+
from diffpy.srxconfutils.tools import _configPropertyR
2121

2222

2323
class SaveResults(object):

src/diffpy/srxplanar/srxplanarconfig.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
import numpy as np
1717

18-
from diffpy.confutils.config import ConfigBase
19-
from diffpy.confutils.tools import _configPropertyRad
18+
from diffpy.srxconfutils.config import ConfigBase
19+
from diffpy.srxconfutils.tools import _configPropertyRad
2020

2121
_description = """
2222
SrXplanar -- integrate 2D powder diffraction image to 1D
@@ -505,7 +505,7 @@
505505

506506

507507
class SrXplanarConfig(ConfigBase):
508-
"""Config class, based on ConfigBase class in diffpy.confutils."""
508+
"""Config class, based on ConfigBase class in diffpy.srxconfutils."""
509509

510510
# Text to display before the argument help
511511
_description = _description

0 commit comments

Comments
 (0)