Skip to content

Commit 0da9205

Browse files
committed
Specify that hash is md5
1 parent 75915dd commit 0da9205

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/ess/dream/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def _make_pooch():
3131
"DREAM_simple_pwd_workflow/Cave_TOF_Monitor_vana_inc_coh.dat": "md5:701d66792f20eb283a4ce76bae0c8f8f", # noqa: E501
3232
# BC215
3333
"DREAM-high-flux-tof-lookup-table.h5": "md5:1b95a359fa7b0d8b4277806ece9bf279", # noqa: E501
34-
"DREAM-high-flux-tof-lookup-table-BC240-new0.h5": "2cc9dc802082101933429a2ea3624126", # noqa: E501
34+
"DREAM-high-flux-tof-lookup-table-BC240-new0.h5": "md5:2cc9dc802082101933429a2ea3624126", # noqa: E501
3535
# Smaller files for unit tests
3636
"DREAM_simple_pwd_workflow/TEST_data_dream_diamond_vana_container_sample_union.csv.zip": "md5:405df9b5ade9d61ab71fe8d8c19bb51b", # noqa: E501
3737
"DREAM_simple_pwd_workflow/TEST_data_dream_vana_container_sample_union.csv.zip": "md5:20186119d1debfb0c2352f9db384cd0a", # noqa: E501

src/ess/powder/correction.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,9 @@ def normalize_by_monitor_integrated(
135135

136136
if monitor.coords[dim].min() > lo or monitor.coords[dim].max() < hi:
137137
raise ValueError(
138-
"Cannot normalize by monitor: The wavelength range of the monitor is "
139-
"smaller than the range of the detector."
138+
f"Cannot normalize by monitor: The wavelength range of the monitor "
139+
f"({monitor.coords[dim].min().value} to {monitor.coords[dim].max().value}) "
140+
f"is smaller than the range of the detector ({lo.value} to {hi.value})."
140141
)
141142
monitor = monitor[dim, lo:hi]
142143
# Strictly limit `monitor` to the range of `detector`.

0 commit comments

Comments
 (0)