Skip to content

Commit 2dae5c0

Browse files
committed
Use Pooch Registry from ESSreduce
1 parent 1578579 commit 2dae5c0

File tree

3 files changed

+5
-51
lines changed

3 files changed

+5
-51
lines changed

src/ess/isissans/data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-License-Identifier: BSD-3-Clause
2-
# Copyright (c) 2024 Scipp contributors (https://github.com/scipp)
3-
from ess.sans.data import Registry
2+
# Copyright (c) 2025 Scipp contributors (https://github.com/scipp)
3+
from ess.reduce.data import Registry
44
from ess.sans.types import (
55
BackgroundRun,
66
DirectBeamFilename,

src/ess/loki/data.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# SPDX-License-Identifier: BSD-3-Clause
2-
# Copyright (c) 2023 Scipp contributors (https://github.com/scipp)
2+
# Copyright (c) 2025 Scipp contributors (https://github.com/scipp)
33
from pathlib import Path
44

5-
from ess.sans.data import Registry
5+
from ess.reduce.data import Registry
66
from ess.sans.types import (
77
BackgroundRun,
88
DirectBeamFilename,
@@ -152,7 +152,7 @@ def loki_tutorial_mask_filenames() -> list[PixelMaskFilename]:
152152

153153
def loki_tutorial_poly_gauss_I0() -> Path:
154154
"""Analytical model for the I(Q) of the Poly-Gauss sample."""
155-
return Path(_registry.get_path('PolyGauss_I0-50_Rg-60.h5'))
155+
return _registry.get_path('PolyGauss_I0-50_Rg-60.h5')
156156

157157

158158
def loki_tutorial_direct_beam_all_pixels() -> DirectBeamFilename:

src/ess/sans/data.py

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)