file_lock.py
NwbfileLock
¶
Bases: SpyglassMixin
, Manual
Source code in src/spyglass/lock/file_lock.py
populate_from_lock_file()
¶
Reads from the NWB_LOCK_FILE (defined by an environment variable), adds the entries to this schema, and then removes the file
Source code in src/spyglass/lock/file_lock.py
AnalysisNwbfileLock
¶
Bases: SpyglassMixin
, Manual
Source code in src/spyglass/lock/file_lock.py
populate_from_lock_file()
¶
Reads/inserts from lock file, then removes lock file.
Requires ANALYSIS_LOCK_FILE environment variable.