Skip to content

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
rdimaio committed Nov 7, 2024
1 parent 7cc22fb commit d714662
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]" },
]
Expand Down
12 changes: 6 additions & 6 deletions src/belleii_rucio_policy_package/__init__.py
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
}
}

0 comments on commit d714662

Please sign in to comment.