From 1e5ec332a45a615d391f89b119d268050788164c Mon Sep 17 00:00:00 2001 From: Jonas Eppelt <jonas.eppelt@gmail.com> Date: Thu, 7 Nov 2024 07:51:03 +0100 Subject: [PATCH] removed nonsensical assert --- bb2etp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bb2etp.py b/bb2etp.py index 2c6781a..d54f0e9 100644 --- a/bb2etp.py +++ b/bb2etp.py @@ -208,7 +208,7 @@ class BeambackgroundMetadata: ''' assert self.on_etp, "Executions does not seem to be on ETP. Ceph paths are not accessible." assert self.ceph_path is not None, "ceph_paths is None. Please set the paths." - assert (os.path.exists(self.ceph_path) and os.path.isdir(self.ceph_path)), f"The path '{self.ceph_path}' does not exist or is not a directory." + #assert (os.path.exists(self.ceph_path) and os.path.isdir(self.ceph_path)), f"The path '{self.ceph_path}' does not exist or is not a directory." assert self.has_certificate, "No certificate found. Please set X509_USER_PROXY." from XRootD import client client = client.FileSystem(self.gridka_server) -- GitLab