Skip to content

Commit

Permalink
Can't remember
Browse files Browse the repository at this point in the history
  • Loading branch information
anooplab committed Oct 12, 2018
1 parent 4331f4f commit 39caea1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions data_analysis/clustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def choose_geometries(list_of_molecules, feature='fingerprint'):

if feature == 'fingerprint':
dt = [i.fingerprint for i in list_of_molecules]
elif feature == 'scm'
elif feature == 'scm':
dt = [i.sorted_coulomb_matrix for i in list_of_molecules]
elif feature == 'moi':
dt = [i.get_principal_axes() for i in list_of_molecules]
Expand Down Expand Up @@ -152,7 +152,6 @@ def get_labels(data_as_list, algorithm='combo'):
except Exception:
# If it fails to estimate bandwidth, give a value (it is arbitrary
# now,
# TODO can we find a reasonable value?)
cluster_logger.exception(' Estimation of bandwidth failed. Using '
'0.5 as bandwidth')
bandwidth = 0.5
Expand Down

0 comments on commit 39caea1

Please sign in to comment.