Records and messages identify a path reaction by a label that is not unique
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
- 52/100
Hướng nghiên cứu
Start by tracing how channel identifiers are parsed and then carried into records and messages. The issue points to SkippedChannel.label, barrierless.py, distrust.py, selector.py:1496, and pes_qm.py:474; inspect those paths and the cited duplicate network fixtures. Done means records and messages can distinguish channels with duplicate path-reaction labels, and the parser refuses duplicates indistinguishable by both labels or missing a transition state.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
T3 records and messages identify a path reaction in an explored pressure-dependent network by its
reaction<N> label. That label is not unique, and was never meant to be.
Measured
RMG mints the label positionally and only when it is absent —
arkane/pdep.py:665-666, in PressureDependenceJob.save_input_file:
if not rxn.label:
rxn.label = 'reaction{0:d}'.format(i + 1)
It checks that the label is empty. It never checks that it is unique. The network file is re-saved on
every network update (rmgpy/rmg/pdep.py:875-876), each reaction keeps whatever label it received in
an earlier save, and reactions are added and removed between saves — so positions shift and a newly
unlabelled reaction can be minted a label an older reaction already holds. The explorer copies the
file through unchanged (arkane/explorer.py:288-289), so the collision is already present in RMG's
own pdep output.
Duplicates are routine, not exceptional: 4 of 6 retained explorer final networks carry them, and
so do two committed fixtures — tests/data/pdep_network/iteration_1/RMG/pdep/network4_2.py (repeats
reaction1, reaction2, reaction3, reaction5) and
tests/data/pdep_barrierless_real/network0_full_cho2.py (repeats reaction1, reaction3,
reaction4).
What is and is not affected
Not affected: channel selection and classification. Those look a channel up by its
transition-state label, which is unique within a network. So this does not attach a verdict to
the wrong channel.
Affected: every record and message that names a channel by the path-reaction label —
SkippedChannel.label, the reason strings built in barrierless.py and distrust.py,
selector.py:1496, and pes_qm.py:474. A reader of one of those records cannot tell which of two
channels it refers to, and two different channels can produce records that read identically.
What this asks for
Identify a channel in records and messages by something unique — the transition-state label is
already unique within a network and is already parsed — either in place of the path-reaction label or
alongside it. The path-reaction label can stay for continuity with the network file; it should not be
the only identifier a record carries.
Separately, a duplicate that collides on both the label and the transition-state label (or where
a transition state is missing) is genuinely indistinguishable, and that case is being made a loud
refusal at the parser rather than a silent pass.
Non-goals
No change to the chemistry, to any rate or energy, to which channels are explored or selected, and
nothing upstream — the minting behaviour is RMG's and is not proposed for change here.
- Ngôn ngữ chính
- Python
- Star
- 16
- Fork
- 8
- Merge trung bình
- 1 giờ 46 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không 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 ReactionMechanismGenerator/T3
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
ReactionMechanismGenerator/T3#233 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 53/100
ReactionMechanismGenerator/T3#239 · 2 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
ReactionMechanismGenerator/T3#238 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
ReactionMechanismGenerator/T3#237 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
ReactionMechanismGenerator/T3#235 ·
Tất cả issue của ReactionMechanismGenerator/T3
Issue tương tự
-
docs(contributing): the two things that silently block a PRCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởavailable documentation good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 95/100
Nixitov/Riptide-Native#944 ·
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 88/100
JTHCode/secretguard#24 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: middleware documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainer thường phản hồi trong vòng 1 ngày