-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Current
A user could
imaging.ProcessingParamSet.insert_new_params(
processing_method='suite2p',
paramset_idx=1,
params=my_params_dict,
paramset_desc='my description'
)
imaging.ProcessingTask.insert1(dict(
**scan_key,
paramset_idx=1,
processing_output_dir='/my/dir'
))- If
my_direxists, we load the results regardless of whether or not the output in this directory matchesparamset_idx=1. - If the paramset were wrong, this would result in a mismatch of params and analyses which is not aligned with general DataJoint integrity protection principles.
- If
my_dirwas a previous analysis, but the user might mistakenly load instead of trigger a new analysis.
Future
- Minor fix: when loading, check that every item specified in the paramset is true of the relevant directory.
- Major fix: position 'load vs. trigger' upstream of
ProcessingParamsetand always triggerinsert_new_paramswhen loading existing results.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request