Commit c6b1c77d authored by Lauri Himanen's avatar Lauri Himanen
Browse files

Changed the clustering threshold.

parent 6a121ebe
Pipeline #78762 passed with stages
in 45 minutes and 17 seconds
......@@ -229,7 +229,7 @@ normalize = NomadConfig(
# The distance tolerance between atoms for grouping them into the same
# cluster. Used in detecting system type.
# Defines the "bin size" for rounding cell angles for the material hash
angle_rounding=float(10.0), # unit: degree
# The threshold for a system to be considered "flat". Used e.g. when
......@@ -248,7 +248,7 @@ class SystemNormalizer(SystemBasedNormalizer):
system_type =
if len(atoms) <= config.normalize.system_classification_with_clusters_threshold:
classifier = Classifier(cluster_threshold=config.normalize.cluster_threshold)
classifier = Classifier(radii="covalent", cluster_threshold=config.normalize.cluster_threshold)
cls = classifier.classify(atoms)
except Exception as e:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment