Builder: metal–π bonds cannot be made to ring carbons (Metal order still needs nubs)
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 40/100
Piste de recherche
Start in Fragment::bondAtoms and BondEditCmd, where Builder bonds currently go between two nubs, then check how addBond is reached in Bond mode with the Metal order. The change lets a Metal bond join two picked atoms directly without consuming nubs or hydrogens, while the align prompt for two molecules keeps working. Done when Fe(PPh3)3 plus benzene gets six Metal bonds to ring carbons with no change in atom count, and ferrocene can be built from two Cp⁻ rings. The typo fix ("unambigously") is part of the same change.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Seen: ECCE 9.1.0. A tetrahedral Fe with three PPh3, then a benzene from the Structure Library. Inserting benzene: "Cannot unambigously connect fragments. Please select the sites that should be bonded." Bond mode with the Metal (metal–π) order, Fe to a ring carbon: "No bond sites are available to create this bond."
Cause: every bond the Builder makes goes between two nubs (Fragment::bondAtoms, BondEditCmd), including the Metal order (0.5). Ring carbons of benzene, Cp⁻ or an alkene have no nub (all valences used), so a metal–π bond to them cannot be made. Elsewhere the Builder already treats Metal bonds as not counting toward valence (shape and hydrogen placement ignore them), so requiring nubs here is inconsistent.
Fix: a Metal bond neither needs nor consumes nubs: in Bond mode with the Metal order, the two picked atoms are bonded directly (addBond), and nubs and hydrogens of both atoms stay as they are. With two molecules, the align question keeps working as now. Test: Fe(PPh3)3 + benzene, six Metal bonds to the ring carbons, no change in atom count; ferrocene from two Cp⁻.
Also: "unambigously" in the first message → "unambiguously".
- Langage dominant
- C
- Étoiles
- 10
- Forks
- 8
- Merge moyen
- 21 min
- PR mergées (30 j)
- 1
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de FriendsofECCE/ECCE
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
FriendsofECCE/ECCE#336 · 1 commentaire ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 55/100
FriendsofECCE/ECCE#363 · 3 commentaires ·
-
enhancement
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
FriendsofECCE/ECCE#362 ·
-
Viewer under XWayland: MO Diagram window opens black; bottom strip blinks on property switchesOuverte
Difficulté 4/5 3-5 jours Accessibilité débutants 43/100
FriendsofECCE/ECCE#361 · 1 commentaire ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 20/100
FriendsofECCE/ECCE#359 ·
Toutes les issues de FriendsofECCE/ECCE
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
antoxa2584x/nfsu2-sw#44 · 1 réaction ·
Les mainteneurs répondent en général sous 1 jour
-
git: need better push commandOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
codepointerapp/codepointer#231 ·
-
Weekly fuzz run failedOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
kubernetes-sigs/security-profiles-operator#3597 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
ImageMagick/ImageMagick#9038 ·
Les mainteneurs répondent en général sous 1 jour