Reject an already-tried conformer change across all rotors of a species, not only the current one
I maintainer di solito rispondono entro 3 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- Mezza giornata
- Idoneità per principianti
- 72/100
Direzione di ricerca
Start with troubleshoot_scan_job and the species rotor history in species_dict[label].rotors_dict; the issue identifies the current-rotor-only lookup that causes the bug. Locate the pentane rotor-scan tests, then add coverage for a geometry rejected through rotor 1 being rejected through rotor 2 and for the A → B → A case. Done means conformer-change methods and pre_xyz are checked across all relevant rotor histories, with both scenarios passing.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Found by @estyritov1 in the #1110 review (https://github.com/ReactionMechanismGenerator/ARC/pull/1110#discussion_r4727813049). It predates #1110.
What happens. When a rotor scan asks for a conformer change, troubleshoot_scan_job rejects a geometry already tried, but it reads only the current rotor's history:
used_trsh_methods = self.species_dict[label].rotors_dict[job.rotor_index]['trsh_methods']
A conformer change affects the whole species, and #1110 already counts change_index over all rotors. So a geometry rejected through rotor 1 is accepted through rotor 2 and triggers a new opt and rescans. estyritov1 reproduced this with pentane (rotors [1, 2, 3, 4] and [2, 3, 4, 5]). The original geometry (pre_xyz) is not in the check either, so A → B → A also passes.
Impact. Each rotor is bounded by max_rotor_trsh, so there is no endless loop, only extra re-optimizations and rescans.
Proposed fix. Collect the history across all rotors and add pre_xyz:
used = [m for rotor in self.species_dict[label].rotors_dict.values()
for m in rotor['trsh_methods'] if 'change conformer' in m]
Test: the pentane case, where a geometry rejected through rotor 1 is also rejected through rotor 2, and the A → B → A case.
After v2.0.0 (outside the freeze cut).
- Lingua principale
- Python
- Stelle
- 55
- Fork
- 26
- Merge medio
- 3g 3h
- PR unite (30g)
- 8
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/ARC
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ReactionMechanismGenerator/ARC#1148 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ReactionMechanismGenerator/ARC#1144 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
ReactionMechanismGenerator/ARC#1143 ·
I maintainer di solito rispondono entro 3 giorni
-
Gaussian troubleshooting drops int=(Acc2E=14) when the fine grid is offForse già presa @alongd l’ha presa 5 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ReactionMechanismGenerator/ARC#1141 ·
I maintainer di solito rispondono entro 3 giorni
-
Gaussian troubleshooting logs opt=cartesian but the input loses itForse già presa @alongd l’ha presa 5 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
ReactionMechanismGenerator/ARC#1140 ·
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di ReactionMechanismGenerator/ARC
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