def ingest_ephys(*args): from pipeline.ingest import ephys as ephys_ingest ephys_ingest.EphysIngest().populate(display_progress=True)
trial_spike_log.append(rec) ib.insert1(rec) if ib.flush(skip_duplicates=True, allow_direct_insert=True, chunksz=10000): log.debug('... TrialSpike spike {}'.format(n_tspike)) n_tspike += 1 if ib.flush(skip_duplicates=True, allow_direct_insert=True): log.debug('... TrialSpike spike {}'.format(n_tspike)) m_tag = 'after trial spike probe {}'.format(probe) m.push(locals(), m_interested) log.debug('inserting file load information') self.insert1(key, ignore_extra_fields=True, skip_duplicates=True, allow_direct_insert=True) EphysIngest.EphysFile().insert1( dict(key, electrode_group=probe, ephys_file=subpath), ignore_extra_fields=True, allow_direct_insert=True) ingest_ephys.EphysIngest.make = stm_make ingest_ephys.EphysIngest().populate(display_progress=True) print('fin')
def ingest_ephys(*args): from pipeline.ingest import ephys as ephys_ingest ephys_ingest.EphysIngest().populate(display_progress=True) experiment.Breathing().populate(display_progress=True) experiment.Piezoelectric().populate(display_progress=True)
def populateE(*args): from pipeline.ingest import ephys as ingest_ephys ingest_ephys.EphysIngest().populate(display_progress=True)