From 061872928e9feafbac16c4772d571928e4ef1549 Mon Sep 17 00:00:00 2001 From: Ben Webb Date: Wed, 28 Feb 2024 16:10:08 -0800 Subject: [PATCH] Use local temporary directory for output --- modules/spatiotemporal/test/test_make_graph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/spatiotemporal/test/test_make_graph.py b/modules/spatiotemporal/test/test_make_graph.py index 9f9fe209a7..4336ea845f 100644 --- a/modules/spatiotemporal/test/test_make_graph.py +++ b/modules/spatiotemporal/test/test_make_graph.py @@ -138,7 +138,7 @@ def test_writing_output(self): input = os.path.join(tmpdir, 'data') shutil.copytree(self.get_input_file_name('data'), input) # set output dir - output=self.get_tmp_file_name('output') + output = os.path.join(tmpdir, 'output') spatiotemporal.create_DAG(state_dict, input_dir=input,output_dir=output,out_labeled_pdf=True,out_cdf=True,out_pdf=True,draw_dag=False) # Read in input files cdf=np.loadtxt(output+'/cdf.txt')