Skip to content

Commit

Permalink
Merge pull request #1427 from AllenInstitute/1426
Browse files Browse the repository at this point in the history
Added cache_spec==True keyword to lfp_writer.write call
  • Loading branch information
pickles-bread-and-butter authored Mar 13, 2020
2 parents 69d4edd + 057b955 commit dadee8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion allensdk/brain_observatory/ecephys/write_nwb/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,7 @@ def write_probe_lfp_file(session_start_time, log_level, probe):

with pynwb.NWBHDF5IO(probe['lfp']['output_path'], 'w') as lfp_writer:
logging.info(f"writing probe lfp file to {probe['lfp']['output_path']}")
lfp_writer.write(nwbfile)
lfp_writer.write(nwbfile, cache_spec=True)
return {"id": probe["id"], "nwb_path": probe["lfp"]["output_path"]}


Expand Down

0 comments on commit dadee8b

Please sign in to comment.