|
140 | 140 | " template = database.kinetics.families[fam_rxn.family].getReactionTemplate(fam_rxn)\n", |
141 | 141 | " display(fam_rxn)\n", |
142 | 142 | " print 'Matched Template: {}'.format([entry.label for entry in template])\n", |
| 143 | + " for entry in template:\n", |
| 144 | + " group = entry.item\n", |
| 145 | + " print entry.label\n", |
| 146 | + " display(group)\n", |
| 147 | + " print '=================================================='\n", |
143 | 148 | "\n", |
144 | 149 | " elif len(fam_rxn_list) == 0:\n", |
145 | 150 | " print \"Sad :( There are no matches. This is a magic reaction or has chemistry that should be made into a new reaction family\"\n", |
|
152 | 157 | " print 'Product SMILES:'\n", |
153 | 158 | " for product in lib_rxn.products:\n", |
154 | 159 | " print product.molecule[0].toSMILES()\n", |
155 | | - " print '==============='\n", |
| 160 | + " print '=================================================='\n", |
156 | 161 | " else:\n", |
157 | 162 | " print \"There are multiple RMG matches for this reaction. You have to manually create this training reaction\"\n", |
158 | 163 | " print ''\n", |
|
168 | 173 | " print 'The following families were matched:'\n", |
169 | 174 | " for rxn in fam_rxn_list:\n", |
170 | 175 | " print rxn.family\n", |
171 | | - " print '==============='\n", |
| 176 | + " print '=================================================='\n", |
172 | 177 | "\n", |
173 | 178 | "\n" |
174 | 179 | ] |
|
0 commit comments