File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/diffpy/structure/tests Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 17
17
"""
18
18
19
19
import sys
20
+ import re
20
21
import unittest
21
22
import numpy
22
23
@@ -222,7 +223,6 @@ def test_signedRatStr(self):
222
223
def test_positionFormula (self ):
223
224
"""check GeneratorSite.positionFormula()
224
225
"""
225
- import re
226
226
# 117c
227
227
self .assertEqual ([], self .g117c .pparameters )
228
228
self .assertEqual ([("x" , self .x )], self .g117h .pparameters )
@@ -247,10 +247,9 @@ def test_positionFormula(self):
247
247
248
248
249
249
def test_positionFormula_sg209 (self ):
250
- """check positionFormula at [x, 1-x, -x] site or F432 space group.
251
- """
250
+ "check positionFormula at [x, 1-x, -x] site of the F432 space group."
252
251
sg209 = GetSpaceGroup ('F 4 3 2' )
253
- xyz = [0.05198 , 0.94802 , - 0.05198 ]
252
+ xyz = [0.05198 , 0.94802 , - 0.05198 ]
254
253
g209e = GeneratorSite (sg209 , xyz )
255
254
pfm = g209e .positionFormula (xyz )
256
255
self .assertEqual ('x' , pfm ['x' ])
You can’t perform that action at this time.
0 commit comments