Master h5 fails in dials.find_spots while nxs works as expected
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 22/100
Hướng nghiên cứu
The traceback ends in get_raw_data in dxtbx/nexus/__init__.py at sliced_outer = data[index], reached through FormatNXmx.py. Compare how the .nxs and master.h5 paths index the same frame range, and check the frame count against the index being requested. Done means dials.find_spots runs on the imported master.h5 without the out-of-range error.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
A user reported an issue while trying to reprocess some data collected at Diamond (I03) in 2020. They reported that dials.find_spots would crash out with an error with versions of dials after 3.10.
I was able to recreate the error with the following dials commands with version 3.26:
dials.import data_master.h5
dials.find_spots imported.expt
^ This gives errors
However, all worked as intended (with no issues) when using the available .nxs file.
dials.import data.nxs
dials.find_spots imported.expt
^This is happy dials
The error given when using the master.h5 file is copied below.
easy_mp crash detected; subprocess trace: ----
Traceback (most recent call last):
File "/dls_sw/apps/dials/dials-v3-26-0-2/modules/cctbx_project/libtbx/scheduling/job_scheduler.py", line 74, in job_cycle
value = target( *args, **kwargs )
File "/dls_sw/apps/dials/dials-v3-26-0-2/modules/dials/src/dials/util/mp.py", line 56, in __call__
return [self.__function(item) for item in iterable]
~~~~~~~~~~~~~~~^^^^^^
File "/dls_sw/apps/dials/dials-v3-26-0-2/modules/dials/src/dials/algorithms/spot_finding/finder.py", line 264, in __call__
result = self.function(task)
File "/dls_sw/apps/dials/dials-v3-26-0-2/modules/dials/src/dials/algorithms/spot_finding/finder.py", line 87, in __call__
image = self.imageset.get_corrected_data(index)
File "/dls_sw/apps/dials/dials-v3-26-0-2/modules/dxtbx/src/dxtbx/format/FormatMultiImage.py", line 47, in read
return format_instance.get_raw_data(index)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^
File "/dls_sw/apps/dials/dials-v3-26-0-2/modules/dxtbx/src/dxtbx/format/FormatNXmx.py", line 164, in get_raw_data
raw_data = dxtbx.nexus.get_raw_data(
nxdata, nxdetector, index, bit_depth=self._bit_depth_readout
)
File "/dls_sw/apps/dials/dials-v3-26-0-2/modules/dxtbx/src/dxtbx/nexus/__init__.py", line 585, in get_raw_data
sliced_outer = data[index]
~~~~^^^^^^^
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "/dls_sw/apps/dials/dials-v3-26-0-2/conda_base/lib/python3.13/site-packages/h5py/_hl/dataset.py", line 840, in __getitem__
return self._fast_reader.read(args)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "h5py/_selector.pyx", line 360, in h5py._selector.Reader.read
File "h5py/_selector.pyx", line 150, in h5py._selector.Selector.apply_args
Index (1000) out of range for (0-999)
----------------------------------------------
- Ngôn ngữ chính
- Python
- Star
- 107
- Fork
- 61
- Merge trung bình
- 2 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 12
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của dials/dials
-
Clear params.inputs in dials.indexCó thể đã có người làm @phyy-nx đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
dials/dials#3361 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
dials.generate_mask silently ignores masking options when given only mask filesCó thể đã có người làm @CAOShurong đã nhận 5 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
HDRMX Performance BenchmarkĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
dials.reindex reference.file= refuses a reference in the enantiomorphic space group, contrary to help textCó thể đã có người làm @spmeisburger đã nhận 3 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
search beam position failCó thể đã có người làm @mpks đã nhận 3 ngày trước. Đang mở
dials/dials#3352 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorCó thể đã có người làm @jejjohnson đã nhận hôm nay. Đang mởtype:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
jejjohnson/integrix#144 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
finos/ai-governance-framework#459 ·
-
slurm: a case outcome nested too deep crashes status/collect instead of reading as no outcomeĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
freelawproject/litigant-portal#1307 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
type/bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
h2oai/h2o-llmstudio#1163 ·
Maintainer thường phản hồi trong vòng 1 ngày