Duplicate reactions added when library included in libraries and seed
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 67/100
Direzione di ricerca
Inizia con input.py.txt ed esegui rmg.py usando il comando fornito per riprodurre le reazioni BurkeH2O2inArHe duplicate. Traccia il modo in cui vengono aggiunte le reazioni seed e di libreria, quindi aggiungi una coverage che dimostri che i duplicati vengono impediti oppure che una sovrapposizione non valida tra seed e libreria produca un errore chiaro.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Bug Description
I'm getting some duplicate reactions when I run an input file that has BurkeH2O2inArHe listed as both a seed and a library.
O(5)+H2(13)<=>H(14)+OH(15) is supposed to appear twice but appears 4x. I think there may be two other MultiArrhenius reactions in this example that also get incorrectly duplicated.
! Reaction index: Chemkin #2; RMG #2
! Library reaction: BurkeH2O2inArHe
O(5)+H2(13)<=>H(14)+OH(15) 3.818000e+12 0.000 7.948
DUPLICATE
! Reaction index: Chemkin #3; RMG #2
! Library reaction: BurkeH2O2inArHe
O(5)+H2(13)<=>H(14)+OH(15) 8.792000e+14 0.000 19.170
DUPLICATE
...
! Reaction index: Chemkin #42; RMG #39
! Library reaction: BurkeH2O2inArHe
O(5)+H2(13)<=>H(14)+OH(15) 3.818000e+12 0.000 7.948
DUPLICATE
! Reaction index: Chemkin #43; RMG #39
! Library reaction: BurkeH2O2inArHe
O(5)+H2(13)<=>H(14)+OH(15) 8.792000e+14 0.000 19.170
DUPLICATE
chem_annotated.inp.txt
species_dictionary.txt
How To Reproduce
Here's the input file that causes the duplicates: input.py.txt
Try python ~/rmg/RMG-Py/rmg.py input.py -t=00:00:02:00 to run for 2 minutes and produce a relatively small example mechanism
Then to fix the error you can remove BurkeH2O2inArHe from the libraries but keep it in the seed.
Expected Behavior
I would expect RMG to catch any duplicates before adding them, or at least produce an error if you're not supposed to include something as both a library and a seed. Or maybe have louder documentation about not doing this.
Installation Information
Describe your installation method and system information.
- OS: Ubuntu 24.04.4 LTS
- Installation method: source
- RMG version information:
- RMG-Py: 99019681568b26514ca4ae3b2de4d2e6fcfcfbc8
- RMG-database: a956fac64a696b84b1183c617e07fc3c1b5ff6a6
- Lingua principale
- Python
- Stelle
- 540
- Fork
- 266
- Merge medio
- 7g 19h
- PR unite (30g)
- 2
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la 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/RMG-Py
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
ReactionMechanismGenerator/RMG-Py#3014 ·
-
Eckart.calculate_tunneling_function: cancellation in 1 - ratio and missing cos branch for small barriersForse già presa @sectio-aurea-q l’ha presa 8 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
ReactionMechanismGenerator/RMG-Py#3019 ·
-
Arkane ORCA parser misclassifies oblique diatomic OH as a nonlinear rotor due to exact-zero inertia testForse già presa @Mohit-Ak l’ha presa 7 giorni fa. Aperta
Difficoltà 3/5 Mezza giornata Idoneità per principianti 52/100
ReactionMechanismGenerator/RMG-Py#3016 ·
-
Inconsistent standard state reference pressure (eg. for entropy calculations). 1 bar or 1 atm?Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
ReactionMechanismGenerator/RMG-Py#3015 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
ReactionMechanismGenerator/RMG-Py#3008 · 2 commenti ·
Tutte le issue di ReactionMechanismGenerator/RMG-Py
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
ClockGU/clockwork-backend#169 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
aws-samples/sample-per-model-bedrock#616 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
chnm/teachinghistory-hugo#47 ·
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
pandas-dev/pandas-stubs#2047 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno