XENONnT / straxen

Streaming analysis for XENON
BSD 3-Clause "New" or "Revised" License
19 stars 33 forks source link

Parse USERDISK base on hostname in RunDB #1384

Closed dachengx closed 1 month ago

dachengx commented 1 month ago

Before you submit this PR: make sure to put all operations-related information in a wiki-note, a PR should be about code and is publicly accessible

What does the code in this PR do / what does it improve?

If hostname contains dali, use UC_DALI_USERDISK. If hostname contains midway, use UC_MIDWAY_USERDISK.

This can remove the confusion when users see rucio data on /dali but run jobs on node without connection to /dali.

Can you briefly describe how it works?

Can you give a minimal working example (or illustrate with a figure)?

Please include the following if applicable:

Notes on testing

All italic comments can be removed from this template.

coveralls commented 1 month ago

Coverage Status

coverage: 91.22% (+0.03%) from 91.194% when pulling 8d07e0d0225d0edfc996b52112737d30d58f4f6d on parse_userdisk into 1312d952e853355cfdc1ad0fa026298a0bf809d9 on master.