Skip to content

[master] Fix script dirac-bookkeeping-get-file-sisters

There was a problem when checking if files had a "sister", i.e. a file with common ancestor in the same production: If 2 "sister" files were in the list, they were not found

[localhost] ~ $ dirac-bookkeeping-get-file-sisters --Depth 2 --Term
    /lhcb/LHCb/Collision17/FULLTURBO.DST/00064954/0000/00064954_00004806_2.fullturbo.dst :
        /lhcb/LHCb/Collision17/FULLTURBO.DST/00064954/0001/00064954_00011988_2.fullturbo.dst : Replica-Yes
Got 2 LFNs
NoCousin :
    /lhcb/LHCb/Collision17/FULLTURBO.DST/00064954/0000/00064954_00004806_2.fullturbo.dst
    /lhcb/LHCb/Collision17/FULLTURBO.DST/00064954/0001/00064954_00011988_2.fullturbo.dst

This MR fixes this issue:

Successful :
    /lhcb/LHCb/Collision17/FULLTURBO.DST/00064954/0000/00064954_00004806_2.fullturbo.dst :
        /lhcb/LHCb/Collision17/FULLTURBO.DST/00064954/0001/00064954_00011988_2.fullturbo.dst : Replica-Yes
Edited by Philippe Charpentier

Merge request reports

Loading