Skip to content

Commit 685e8d5

Browse files
committed
chore: rename ciffile to cif_path
1 parent 0752ce9 commit 685e8d5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_pdf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ def testGenerator(
160160

161161
stru = PDFFitStructure()
162162
ciffile = datafile("ni.cif")
163-
ciffile = str(ciffile)
164-
stru.read(ciffile)
163+
cif_path = str(ciffile)
164+
stru.read(cif_path)
165165
for i in range(4):
166166
stru[i].Bisoequiv = 1
167167
gen.setStructure(stru)
@@ -300,8 +300,8 @@ def test_pickling(
300300
pc = PDFContribution("pdf")
301301
pc.loadData(datafile("ni-q27r100-neutron.gr"))
302302
ciffile = datafile("ni.cif")
303-
ciffile = str(ciffile)
304-
ni = loadStructure(ciffile)
303+
cif_path = str(ciffile)
304+
ni = loadStructure(cif_path)
305305
ni.Uisoequiv = 0.003
306306
pc.addStructure("ni", ni)
307307
pc.setCalculationRange(0, 10)

0 commit comments

Comments
 (0)