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 1717"""
1818
1919import sys
20+ import re
2021import unittest
2122import numpy
2223
@@ -222,7 +223,6 @@ def test_signedRatStr(self):
222223 def test_positionFormula (self ):
223224 """check GeneratorSite.positionFormula()
224225 """
225- import re
226226 # 117c
227227 self .assertEqual ([], self .g117c .pparameters )
228228 self .assertEqual ([("x" , self .x )], self .g117h .pparameters )
@@ -247,10 +247,9 @@ def test_positionFormula(self):
247247
248248
249249 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."
252251 sg209 = GetSpaceGroup ('F 4 3 2' )
253- xyz = [0.05198 , 0.94802 , - 0.05198 ]
252+ xyz = [0.05198 , 0.94802 , - 0.05198 ]
254253 g209e = GeneratorSite (sg209 , xyz )
255254 pfm = g209e .positionFormula (xyz )
256255 self .assertEqual ('x' , pfm ['x' ])
You can’t perform that action at this time.
0 commit comments