From 98c1e49b1cc2de7854f5381f9c775fe883ef8274 Mon Sep 17 00:00:00 2001 From: payno <henri.payno@gmail.com> Date: Thu, 30 Jun 2022 09:46:26 +0200 Subject: [PATCH] PEP8 --- tomoscan/esrf/utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tomoscan/esrf/utils.py b/tomoscan/esrf/utils.py index 316a6984..7b1f4ce5 100644 --- a/tomoscan/esrf/utils.py +++ b/tomoscan/esrf/utils.py @@ -339,7 +339,9 @@ def get_datasets_linked_to_vds(url: DataUrl): # hyperslab virtual_dataset_to_treat.add( ( - os.path.realpath(vs_info.file_name) if vs_info.file_name != "." else os.path.abspath(url.file_path()), + os.path.realpath(vs_info.file_name) + if vs_info.file_name != "." + else os.path.abspath(url.file_path()), # avoid calling os.path.realpath if the dataset is in the same file. Otherwise mess up with paths vs_info.dset_name, None, -- GitLab