Skip to content

Commit

Permalink
Fix classifier path
Browse files Browse the repository at this point in the history
  • Loading branch information
edeno committed Jan 14, 2024
1 parent fe857b6 commit bae756d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spyglass/decoding/v1/clusterless.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def make(self, key):
)
key["results_path"] = results_path

classifier_path = results_path.strip(".nc") + ".pkl"
classifier_path = results_path.with_suffix(".pkl")
classifier.save_model(classifier_path)
key["classifier_path"] = classifier_path

Expand Down

0 comments on commit bae756d

Please sign in to comment.