Skip to content

Commit

Permalink
Add metacat-rucio-to-sam
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew-McNab-UK committed Aug 1, 2023
1 parent 4d8413d commit 9baad84
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions testing/metacat-rucio-to-sam
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,17 @@ export SAM_EXPERIMENT=dune
setup metacat
metacat auth login -m x509 dunepro
then do
metacat-rucio-to-sam --mql MQL --sam-query SAMQUERY --number N
The script does the MQL query with MetaCat and the SAMQUERY with SAM
and tries to declare each file returned by the MetaCat query which is absent
from the SAM query.
CURRENTLY IT JUST DOES A DRY RUN BY OUTPUTING m-r-t-s.json WITH THE SAM
JSON AND PRINTING THE declare-file AND add-file-location SAM COMMANDS
"""

import sys
Expand Down

0 comments on commit 9baad84

Please sign in to comment.