File: 0017-smtbx-save-the-generated-test-file-under-tmp.patch

package info (click to toggle)
cctbx 2025.2%2Bds2%2B~3.23.0%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 137,020 kB
  • sloc: python: 896,704; cpp: 299,496; ansic: 22,625; fortran: 18,268; javascript: 2,046; sh: 1,114; sql: 632; csh: 519; java: 368; makefile: 317; xml: 25
file content (20 lines) | stat: -rw-r--r-- 853 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: =?utf-8?q?Picca_Fr=C3=A9d=C3=A9ric-Emmanuel?= <picca@debian.org>
Date: Thu, 6 Oct 2022 12:10:24 +0200
Subject: smtbx save the generated test file under /tmp

---
 smtbx/regression/test_data/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/smtbx/regression/test_data/__init__.py b/smtbx/regression/test_data/__init__.py
index aaa146d..bb9237f 100644
--- a/smtbx/regression/test_data/__init__.py
+++ b/smtbx/regression/test_data/__init__.py
@@ -7,6 +7,6 @@ class fnames(object):
   thpp_ins = os.path.join(test_data_dir, 'thpp.ins')
   thpp_hkl = os.path.join(test_data_dir, 'thpp.hkl')
   thpp_cif = os.path.join(test_data_dir, 'thpp.cif')
-  thpp_out = os.path.join(test_data_dir, 'thpp_out.cif')
+  thpp_out = os.path.join('/tmp', 'thpp_out.cif')
 
   sucrose_p1_res = os.path.join(test_data_dir, 'sucrose_p1.res')