Permalink
Browse files

Added MeanInhib parameter by default to NN results

  • Loading branch information...
1 parent c7d30b7 commit 7e34353ab59c25d42943b6648ed9203f42f7f8a5 @engpedrorafael engpedrorafael committed Jul 5, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 azorange/AZutilities/evalUtilities.py
View
6 azorange/AZutilities/evalUtilities.py
@@ -60,7 +60,8 @@ def getNearestNeighbors(query, n, NNDataPath, FPPath = None, resPath = None, idx
"expVal" : ExpValues,
"similarity" : TanimotoSimilarity,
"smi" : smiles,
- "imgPath" : imgPath}, ... ]
+ "imgPath" : imgPath,
+ "MeanInhib" : Mean Inhib. }, ... ]
It will saves the images in resPath:
NN_1.png #1 neighbor
@@ -126,7 +127,8 @@ def getNearestNeighbors(query, n, NNDataPath, FPPath = None, resPath = None, idx
"expVal": expVal,
"similarity": nn[idxSimilarity],
"smi": SMILES,
- "imgPath": imgPath} )
+ "imgPath": imgPath,
+ "MeanInhib": ''} )
return res

0 comments on commit 7e34353

Please sign in to comment.