Closed cmazzio closed 1 month ago
On this commit (431ceb9), cluster_stability.py
is outputting to cluster folders with zero-padded numbers
fig.savefig(f'./Plots/{electrode_num:02}/clusters{clust_num:02}/' +\
f'clustermap.png', dpi=300,
bbox_inches='tight')
plt.close()
but blech_run_process.py
creates the directories without zero-padding (see f'clusters{self.cluster_num}'
below)
clust_results_dir = os.path.join(
self.data_dir,
'clustering_results',
f'electrode{self.electrode_num:02}',
f'clusters{self.cluster_num}'
)
You can remove the zero padding for the cluster directory in cluster_stability.py
and it should work.
That fixed the issue.
Something wrong with clustermap...full block below
https://app.warp.dev/block/dCgZKFhhjbhMucPFLNzCO6
Error snippet