File tree Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change
1
+ **Added:**
2
+
3
+ * No news added: Use filename string instead of pathlib.Path to fix the test using ``diffpy.structure``.
4
+
5
+ **Changed:**
6
+
7
+ * <news item>
8
+
9
+ **Deprecated:**
10
+
11
+ * <news item>
12
+
13
+ **Removed:**
14
+
15
+ * <news item>
16
+
17
+ **Fixed:**
18
+
19
+ * <news item>
20
+
21
+ **Security:**
22
+
23
+ * <news item>
Original file line number Diff line number Diff line change @@ -160,7 +160,8 @@ def testGenerator(
160
160
161
161
stru = PDFFitStructure ()
162
162
ciffile = datafile ("ni.cif" )
163
- stru .read (ciffile )
163
+ cif_path = str (ciffile )
164
+ stru .read (cif_path )
164
165
for i in range (4 ):
165
166
stru [i ].Bisoequiv = 1
166
167
gen .setStructure (stru )
@@ -298,7 +299,9 @@ def test_pickling(
298
299
299
300
pc = PDFContribution ("pdf" )
300
301
pc .loadData (datafile ("ni-q27r100-neutron.gr" ))
301
- ni = loadStructure (datafile ("ni.cif" ))
302
+ ciffile = datafile ("ni.cif" )
303
+ cif_path = str (ciffile )
304
+ ni = loadStructure (cif_path )
302
305
ni .Uisoequiv = 0.003
303
306
pc .addStructure ("ni" , ni )
304
307
pc .setCalculationRange (0 , 10 )
You can’t perform that action at this time.
0 commit comments