dials.reindex reference.file= refuses a reference in the enantiomorphic space group, contrary to help text
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 78/100
Hướng nghiên cứu
Start with command_line/reindex.py and its reference.file branch, then trace dials.util.reindex.change_of_basis_op_against_reference into algorithms/symmetry/reindex_to_reference.determine_reindex_operator_against_reference. Compare this behavior with the working reference handling in dials.cosym. The change is done when dials.reindex accepts reference files from a different space group, resolves the indexing ambiguity, and outputs experiments in the reference space group as documented.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The help for reference.file in dials.reindex says:
A file containing a reference set of intensities e.g. MTZ/cif, or a file from which a reference
set of intensities can be calculated e.g. .pdb or .cif . The space group of the reference file
will be used and if an indexing ambiguity is present, the input data will be reindexed to be
consistent with the indexing mode of this reference file.
But when the data's space group differs from the reference's, it stops before any comparison:
Sorry: Space groups are not equal. Can only reindex against a
reference dataset if both dataset are in the same spacegroup.
It's possible to work around this by calling dials.reindex twice, first to put in the reference's space group, and then to resolve the ambiguity. But it would be a simple fix, I think, to make it work as advertised.
Here's what Claude found after some digging:
command_line/reindex.py, thereference.filebranch, calls
dials.util.reindex.change_of_basis_op_against_reference. That builds the test miller set in the
experiments' own space group and passes it to
algorithms/symmetry/reindex_to_reference.determine_reindex_operator_against_reference, which
raises theSorrywhen the space group numbers differ.- After the operator is found, the output's space group comes only from
params.space_group
(space_group = params.space_group→reindex_experiments(..., space_group=space_group)). The
reference's space group is never applied, and the check runs beforespace_group=could take
effect. dials.cosymhas the same help text for its ownreference=, and there it holds:cosym's
__init__takesspace_group_infofromextract_reference_intensitiesand uses it ("Using
space group ... from reference"). The help fordials.reindexseems to have come with #2420.
- 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
-
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
-
dials.integrate
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
dials/dials#3350 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
A JSON chat answer blocks the backend event loop for the whole RAG runCó thể đã có người làm @NopeCharon đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
The-OpenROAD-Project/ORAssistant#656 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
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
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày