File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
src/spyglass/utils/mixins Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ import all foreign key references.
2929- Fix typo in VideoFile.make #1427
3030- Fix bug in TaskEpoch.make so that it correctly handles multi-row task tables
3131 from NWB #1433
32- - Split ` SpyglassMixin ` into task-specific mixins #1435
32+ - Split ` SpyglassMixin ` into task-specific mixins #1435 # 1451
3333
3434### Infrastructure
3535
Original file line number Diff line number Diff line change @@ -264,11 +264,10 @@ def create(
264264
265265 return analysis_file_name
266266
267- @classmethod
268- def _alter_spyglass_version (cls , nwb_file_path : str ) -> None :
267+ def _alter_spyglass_version (self , nwb_file_path : str ) -> None :
269268 """Change the source script to the current version of spyglass"""
270269 with h5py .File (nwb_file_path , "a" ) as f :
271- f ["/general/source_script" ][()] = cls ._logged_env_info ()
270+ f ["/general/source_script" ][()] = self ._logged_env_info ()
272271
273272 def _logged_env_info (self ) -> str :
274273 """Get the environment information for logging."""
You can’t perform that action at this time.
0 commit comments