resonance generation creates charged species
还没有人认领这个 Issue。
评估
调研方向
Start in autotst/species.py around line 143, where generate_resonance_structures() is called during species initialization. Reproduce the failure with the SMILES string OON+[O-], then inspect the referenced RMG molecule.py and resonance.py locations to understand the charged-species error. Done means this input no longer raises the reported ValueError, with regression coverage for the case.
由索引模型根据 Issue 内容生成。
描述
Currently, AutoTST uses RMG's generate_resonance_structures() method to automatically generate resonance structures when an autotst species is initialized. However, occasionally, this resonance generation method raises a ValueError when trying to create a charged species. This is happening to some of the weird HAN nitrogen intermediates. This is the traceback when trying to generate a species from smiles string 'OO[N+](O)[O-]'
Traceback (most recent call last):
File "molecules.py", line 103, in <module>
species = Species(smiles=[smiles])
File "/home/farina.d/AutoTST/autotst/species.py", line 143, in __init__
species_list.append(molecule.generate_resonance_structures())
File "rmgpy/molecule/molecule.py", line 2089, in rmgpy.molecule.molecule.Molecule.generate_resonance_structures
File "rmgpy/molecule/molecule.py", line 2091, in rmgpy.molecule.molecule.Molecule.generate_resonance_structures
File "rmgpy/molecule/resonance.py", line 150, in rmgpy.molecule.resonance.generate_resonance_structures
File "rmgpy/molecule/resonance.py", line 185, in rmgpy.molecule.resonance.generate_resonance_structures
ValueError: Got the following structure:
SMILES: OO[N+2](O)[O-]
AdjacencyList:
1 O u0 p2 c0 {3,S} {5,S}
2 O u0 p2 c0 {5,S} {6,S}
3 O u0 p2 c0 {1,S} {7,S}
4 O u0 p3 c-1 {5,S}
5 N u0 p0 c+2 {1,S} {2,S} {4,S}
6 H u0 p0 c0 {2,S}
7 H u0 p0 c0 {3,S}
Net charge: 1
Currently RMG cannot process charged species correctly.
If this structure was entered in SMILES, try using the adjacencyList format for an unambiguous definition.
- 主要语言
- Python
- 星标
- 51
- 派生
- 19
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ReactionMechanismGenerator/AutoTST 的其他 Issue
-
Conformer generation isn't deterministic可能重新可做 @sevyharris 于 601 天前认领,目前没有进行中的 PR。 未关闭
ReactionMechanismGenerator/AutoTST#94 · 2 条评论 · 已指派 1 人 ·
-
难度 4/5 3-5 天 新手友好度 30/100
ReactionMechanismGenerator/AutoTST#91 · 2 条评论 ·
-
难度 3/5 1-2 天 新手友好度 25/100
ReactionMechanismGenerator/AutoTST#81 · 3 条评论 ·
-
log to TS未关闭
难度 5/5 一周以上 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 35/100
ReactionMechanismGenerator/AutoTST#73 · 1 条评论 ·
查看 ReactionMechanismGenerator/AutoTST 的全部 Issue
相似的 Issue
-
effort: low prio: low ready
难度 2/5 1-3 小时 新手友好度 82/100
digitalfabrik/integreat-cms#4616 ·
维护者通常 5 天内回复
-
bug difficulty:2 good first issue help wanted
难度 2/5 1-3 小时 新手友好度 88/100
MakazhanAlpamys/Soup#1865 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
FinanceFlash/unvibecode#233 ·
维护者通常 1 天内回复
-
area: agents area: docs good first issue
难度 2/5 1-3 小时 新手友好度 88/100
openapi/gknowledge#23 ·
-
useless-suppression reported for deprecated-* messages that should be exempt可能已有人在做 @adityasinha-ghub 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 88/100
pylint-dev/pylint#11656 ·
维护者通常 1 天内回复