Skip to content

Commit bfbc249

Browse files
committed
fix CI
1 parent 7bed9c2 commit bfbc249

File tree

16 files changed

+29
-16
lines changed

16 files changed

+29
-16
lines changed

src/diffpy/structure/apps/anyeye.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
import signal
4141
import sys
4242

43-
from diffpy.structure import StructureFormatError
43+
from diffpy.structure.structureerrors import StructureFormatError
4444

4545
# parameter dictionary
4646
pd = {

src/diffpy/structure/apps/transtru.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535

3636
import sys
3737

38-
from diffpy.structure import Structure, StructureFormatError
38+
from diffpy.structure import Structure
39+
from diffpy.structure.structureerrors import StructureFormatError
3940

4041

4142
def usage(style=None):

src/diffpy/structure/parsers/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
outputFormats -- list of available output formats
3232
"""
3333

34-
from diffpy.structure import StructureFormatError
34+
from diffpy.structure.structureerrors import StructureFormatError
3535
from diffpy.structure.parsers.parser_index_mod import parser_index
3636
from diffpy.structure.parsers.structureparser import StructureParser
3737

src/diffpy/structure/parsers/p_auto.py

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

2121
import os
2222

23-
from diffpy.structure import StructureFormatError
23+
from diffpy.structure.structureerrors import StructureFormatError
2424
from diffpy.structure.parsers import StructureParser, parser_index
2525

2626

src/diffpy/structure/parsers/p_cif.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
import numpy
2626
import six
2727

28-
from diffpy.structure import Atom, Lattice, Structure, StructureFormatError
28+
from diffpy.structure import Atom, Lattice, Structure
29+
from diffpy.structure.structureerrors import StructureFormatError
2930
from diffpy.structure.parsers import StructureParser
3031

3132
# ----------------------------------------------------------------------------

src/diffpy/structure/parsers/p_discus.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121

2222
import six
2323

24-
from diffpy.structure import Lattice, PDFFitStructure, StructureFormatError
24+
from diffpy.structure import Lattice, PDFFitStructure
25+
from diffpy.structure.structureerrors import StructureFormatError
2526
from diffpy.structure.parsers import StructureParser
2627

2728

src/diffpy/structure/parsers/p_pdb.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
import six
2828
from numpy import pi
2929

30-
from diffpy.structure import Structure, StructureFormatError
30+
from diffpy.structure import Structure
31+
from diffpy.structure.structureerrors import StructureFormatError
3132
from diffpy.structure.parsers import StructureParser
3233

3334

src/diffpy/structure/parsers/p_pdffit.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
import numpy
2323
import six
2424

25-
from diffpy.structure import Lattice, PDFFitStructure, StructureFormatError
25+
from diffpy.structure import Lattice, PDFFitStructure
26+
from diffpy.structure.structureerrors import StructureFormatError
2627
from diffpy.structure.parsers import StructureParser
2728

2829

src/diffpy/structure/parsers/p_rawxyz.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222

2323
import six
2424

25-
from diffpy.structure import Structure, StructureFormatError
25+
from diffpy.structure import Structure
26+
from diffpy.structure.structureerrors import StructureFormatError
2627
from diffpy.structure.parsers import StructureParser
2728
from diffpy.structure.utils import isfloat
2829

src/diffpy/structure/parsers/p_xcfg.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
import numpy
2222
import six
2323

24-
from diffpy.structure import Structure, StructureFormatError
24+
from diffpy.structure import Structure
25+
from diffpy.structure.structureerrors import StructureFormatError
2526
from diffpy.structure.parsers import StructureParser
2627
from diffpy.structure.utils import isfloat
2728

0 commit comments

Comments
 (0)