Example #1
0
def _boronic_acid(boron, oxygen1, hydrogen1, oxygen2, hydrogen2, atom):
    bonders = (oxygen1, oxygen2)
    deleters = (hydrogen1, hydrogen2)
    return GenericCaseData(
        functional_group=stk.BoronicAcid(
            boron=boron,
            oxygen1=oxygen1,
            hydrogen1=hydrogen1,
            oxygen2=oxygen2,
            hydrogen2=hydrogen2,
            atom=atom,
            bonders=bonders,
            deleters=deleters,
        ),
        atoms=(boron, oxygen1, hydrogen1, oxygen2, hydrogen2, atom),
        bonders=bonders,
        deleters=deleters,
    )
Example #2
0
 ),
 stk.Amide(
     carbon=stk.C(0),
     oxygen=stk.O(1),
     nitrogen=stk.N(2),
     hydrogen1=stk.H(3),
     hydrogen2=stk.H(4),
     atom=stk.C(5),
     bonders=(stk.C(0), ),
     deleters=(stk.N(2), stk.H(3), stk.H(4)),
 ),
 stk.BoronicAcid(
     boron=stk.B(0),
     oxygen1=stk.O(1),
     hydrogen1=stk.H(2),
     oxygen2=stk.O(3),
     hydrogen2=stk.H(4),
     atom=stk.C(5),
     bonders=(stk.B(0), ),
     deleters=(stk.O(1), stk.H(2), stk.O(3), stk.H(4)),
 ),
 stk.Bromo(
     bromine=stk.Br(0),
     atom=stk.C(1),
     bonders=(stk.C(1), ),
     deleters=(stk.Br(0), ),
 ),
 stk.CarboxylicAcid(
     carbon=stk.C(0),
     oxygen1=stk.O(1),
     oxygen2=stk.O(5),
     hydrogen=stk.H(6),
Example #3
0
         atom2=stk.H(6),
         atom3=stk.C(2),
         atom4=stk.H(7),
         bonders=(stk.C(1), ),
         deleters=(stk.C(0), stk.H(5), stk.H(6)),
     ), ),
 ),
 lambda: CaseData(
     factory=stk.BoronicAcidFactory(),
     molecule=stk.BuildingBlock('B(O)(O)CCB(O)O'),
     functional_groups=(
         stk.BoronicAcid(
             boron=stk.B(0),
             oxygen1=stk.O(1),
             oxygen2=stk.O(2),
             hydrogen1=stk.H(8),
             hydrogen2=stk.H(9),
             atom=stk.C(3),
             bonders=(stk.B(0), ),
             deleters=(stk.O(1), stk.O(2), stk.H(8), stk.H(9)),
         ),
         stk.BoronicAcid(
             boron=stk.B(5),
             oxygen1=stk.O(6),
             oxygen2=stk.O(7),
             hydrogen1=stk.H(14),
             hydrogen2=stk.H(15),
             atom=stk.C(4),
             bonders=(stk.B(5), ),
             deleters=(
                 stk.O(6),
                 stk.O(7),