Skip to content

Commit

Permalink
fix for reloading qc metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
zm711 committed Oct 5, 2023
1 parent c5b0245 commit 5febd23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/spikeanalysis/spike_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def reload_data(self):
self.spike_clusters = self._spike_templates

self._cids = np.array(list(set(self.spike_clusters)))

self.QC_RUN = False
self._return_to_dir(current_dir)

def samples_to_seconds(self):
Expand Down Expand Up @@ -601,6 +601,7 @@ def set_qc(self):
)

self._cids = self._cids[threshold]
print('qc metrics applied to cluster ids')
self.QC_RUN = True
self._return_to_dir(current_dir)

Expand Down

0 comments on commit 5febd23

Please sign in to comment.