Developer Guide¶
Code layout¶
extract_clusters_step/cluster_sampling.pyThe algorithm, free of any SEAMM dependency:
molecule_neighbour_graph,grow_connected,unwrap_shifts,classify_motif,bond_index_pairs,extract_nmersandcluster_summary. Unit tested directly intests/test_cluster_sampling.py(pure numpy) andtests/test_extract_nmers.py(on a synthetic periodic water box).extract_clusters_step/extract_clusters.pyThe
seamm.Node: parses the parameters, callsextract_nmersonce per requested size sharing oneseenset, writesclusters.csvand prints the motif × bin summary.extract_clusters_step/tk_extract_clusters.pyThe dialog;
reset_dialogshows only the stratification controls that apply to the chosen scheme.extract_clusters_step/data/properties.csvRegisters the
#ExtractClusters#scanproperties with molsystem at import.