From 7ad67549d72fbe227b2740343a776b20c785ba15 Mon Sep 17 00:00:00 2001 From: Evgueni Ovtchinnikov Date: Thu, 19 Jan 2023 10:17:13 +0000 Subject: [PATCH] [ci skip] corrected path separator in osem_reconstruction_gpu.py --- examples/Python/PET/osem_reconstruction_gpu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Python/PET/osem_reconstruction_gpu.py b/examples/Python/PET/osem_reconstruction_gpu.py index 40dcf75a5..1fd62cd8b 100644 --- a/examples/Python/PET/osem_reconstruction_gpu.py +++ b/examples/Python/PET/osem_reconstruction_gpu.py @@ -70,7 +70,7 @@ def check_file_exists(filename): sino_file = args['--sino'] if not sino_file: print("Sinogram not given, using data/examples/PET/my_forward_projection.hs") - sino_file = examples_data_path('PET') + "/my_forward_projection.hs" + sino_file = os.path.join(examples_data_path('PET'), "my_forward_projection.hs") if not file_exists(sino_file): raise error("Sinogram not found: " + sino_file)