Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set rootpath for rucio #169

Merged
merged 2 commits into from
Aug 14, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion straxen/rundb.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def __init__(self,
local_only=False,
new_data_path=None,
reader_ini_name_is_mode=False,
rucio_path = '/dali/lgrandi/rucio/',
*args, **kwargs):
"""
:param mongo_url: URL to Mongo runs database (including auth)
Expand All @@ -66,6 +67,7 @@ def __init__(self,
self.new_data_path = new_data_path
self.reader_ini_name_is_mode = reader_ini_name_is_mode
self.minimum_run_number = minimum_run_number
self.rucio_path = rucio_path
if self.new_data_path is None:
self.readonly = True
self.runid_field = runid_field
Expand Down Expand Up @@ -107,7 +109,7 @@ def __init__(self,
self.backends = [
strax.S3Backend(**s3_kwargs),
strax.FileSytemBackend(),
strax.rucio(),
strax.rucio(rucio_path),
]

# Construct mongo query for runs with available data.
Expand Down