Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Rename process.py to populate_all.py
  • Loading branch information
kabilar committed May 6, 2022
commit 2d0068d3a7fa523540de347307ebb080d5fd0ba2
31 changes: 31 additions & 0 deletions workflow_miniscope/populate_all.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
from workflow_miniscope.pipeline import miniscope
import warnings

warnings.filterwarnings('ignore')


def run(display_progress=True):

populate_settings = {'display_progress': display_progress,
'reserve_jobs': False,
'suppress_errors': False}

print('\n---- Populate imported and computed tables ----')

miniscope.RecordingInfo.populate(**populate_settings)

miniscope.Processing.populate(**populate_settings)

miniscope.MotionCorrection.populate(**populate_settings)

miniscope.Segmentation.populate(**populate_settings)

miniscope.Fluorescence.populate(**populate_settings)

miniscope.Activity.populate(**populate_settings)

print('\n---- Successfully completed workflow_miniscope/populate_all.py ----')


if __name__ == '__main__':
run()