@@ -217,13 +217,13 @@ def multiStages(inputs, channels):
217
217
smilesList_filtered = []
218
218
for datapass in datapassList :
219
219
try :
220
- isorganic = isOrganicAndHasWeight (datapass .smiles , ORGANIC_COMPOUND_MIN_WEIGHT )
220
+ isOrganic = isOrganicAndHasWeight (datapass .smiles , ORGANIC_COMPOUND_MIN_WEIGHT )
221
221
except Exception as e :
222
222
print (e , file = sys .stderr )
223
223
print (traceback .format_exc (), file = sys .stderr )
224
- isorganic = False
224
+ isOrganic = False
225
225
226
- if isorganic :
226
+ if isOrganic :
227
227
smilesList_filtered .append (datapass )
228
228
else :
229
229
msg = "Filtered inorganic compound or weight less than " + str (ORGANIC_COMPOUND_MIN_WEIGHT )+ ": " + datapass .smiles
@@ -253,19 +253,19 @@ def multiStages(inputs, channels):
253
253
smilesList_filtered = []
254
254
for datapass in subDatapassList :
255
255
try :
256
- isorganic = isOrganicAndHasWeight (datapass .smiles , ORGANIC_COMPOUND_MIN_WEIGHT )
256
+ isOrganic = isOrganicAndHasWeight (datapass .smiles , ORGANIC_COMPOUND_MIN_WEIGHT )
257
257
except Exception as e :
258
258
print (e , file = sys .stderr )
259
259
print (traceback .format_exc (), file = sys .stderr )
260
- isorganic = False
260
+ isOrganic = False
261
261
262
- if isorganic :
262
+ if isOrganic :
263
263
smilesList_filtered .append (datapass )
264
264
else :
265
265
msg = "Filtered inorganic compound or weight less than " + str (ORGANIC_COMPOUND_MIN_WEIGHT )+ ": " + datapass .smiles
266
266
print (msg , file = channels .errorChannel )
267
267
268
- channels .writeStateMsg ("Running nerual nework predictions for compounds #" + str (startIndex )+ " to #" + str (endIndex ))
268
+ channels .writeStateMsg ("Running neural network predictions for compounds #" + str (startIndex )+ " to #" + str (endIndex ))
269
269
270
270
try :
271
271
run_main_models_multiple_compounds (smilesList_filtered , inputs .nnType )
0 commit comments