-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "belleii_rucio_policy_package" | ||
version = "0.0.2" | ||
version = "0.0.3" | ||
authors = [ | ||
{ name="Belle II", email="[email protected]" }, | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
import non_deterministic_pfn | ||
import scope | ||
import lfn2pfn | ||
from belleii_rucio_policy_package.non_deterministic_pfn import BelleIINonDeterministicPFNAlgorithm | ||
from belleii_rucio_policy_package.scope import BelleIIScopeExtractionAlgorithm | ||
from belleii_rucio_policy_package.lfn2pfn import BelleIIRSEDeterministicTranslation | ||
|
||
SUPPORTED_VERSION = ["35"] # Only use with Rucio >=35.1.0 - pending https://github.com/rucio/rucio/issues/7082 | ||
|
||
def get_algorithms(): | ||
return { | ||
'non_deterministic_pfn': { | ||
'belleii_non_deterministic_pfn': non_deterministic_pfn.BelleIINonDeterministicPFNAlgorithm.construct_non_deterministic_pfn_belleii | ||
'belleii_non_deterministic_pfn': BelleIINonDeterministicPFNAlgorithm.construct_non_deterministic_pfn_belleii | ||
}, | ||
'lfn2pfn': { | ||
'belleii_lfn2pfn': lfn2pfn.BelleIIRSEDeterministicTranslation.lfn2pfn_belleii | ||
'belleii_lfn2pfn': BelleIIRSEDeterministicTranslation.lfn2pfn_belleii | ||
}, | ||
'scope': { | ||
'belleii_extract_scope': scope.BelleIIScopeExtractionAlgorithm.extract_scope_belleii | ||
'belleii_extract_scope': BelleIIScopeExtractionAlgorithm.extract_scope_belleii | ||
} | ||
} |