Records and messages identify a path reaction by a label that is not unique
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 52/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 16
- Fork
- 8
- Merge medio
- 1h 46m
- PR unite (30g)
- 1
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ReactionMechanismGenerator/T3
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
ReactionMechanismGenerator/T3#233 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 53/100
ReactionMechanismGenerator/T3#239 · 2 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
ReactionMechanismGenerator/T3#238 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
ReactionMechanismGenerator/T3#237 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
ReactionMechanismGenerator/T3#235 ·
Tutte le issue di ReactionMechanismGenerator/T3
Issue simili
-
docs(contributing): the two things that silently block a PRForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaavailable documentation good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 95/100
Nixitov/Riptide-Native#944 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
JTHCode/secretguard#24 ·
I maintainer di solito rispondono entro 1 giorno
-
area: middleware documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
omarelshamy25x/shamy-hijri#63 ·
I maintainer di solito rispondono entro 1 giorno