Skip to content
Snippets Groups Projects
Commit 1e5ec332 authored by Jonas Eppelt's avatar Jonas Eppelt
Browse files

removed nonsensical assert

parent 47af78f6
No related branches found
No related tags found
2 merge requests!9Toml,!8Move mixture nominal to grid
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment