bin/deliver_reviewed_data.py
def deliverable_samples(self):
        """Retrieve the names of samples that went through the authorisation step. Then get the data associated."""
        if self.process.type.name != release_trigger_lims_step_name:
            raise ValueError('Process %s is not of the type ' + release_trigger_lims_step_name)
        sample_names = [a.samples[0].name for a in self.process.all_inputs(resolve=True)]
        project_to_samples = defaultdict(list)
        samples = [self.get_sample_data(sample) for sample in sample_names]
        for sample in samples:
            project_to_samples[query_dict(sample, 'data.project_id')].append(sample.get('data'))
            self.all_samples_dict[query_dict(sample, 'data.sample_id')] = sample
        return project_to_samples
Retrieve the names of samples that went through the authorisation step. Then get the data associated.
Retrieve the names of samples that went through the authorisation step. Then get the data associated.
Retrieve the names of samples that went through the authorisation step . Then get the data associated .
def deliverable_samples(self):
        if self.process.type.name != release_trigger_lims_step_name:
            raise ValueError('Process %s is not of the type ' + release_trigger_lims_step_name)
        sample_names = [a.samples[0].name for a in self.process.all_inputs(resolve=True)]
        project_to_samples = defaultdict(list)
        samples = [self.get_sample_data(sample) for sample in sample_names]
        for sample in samples:
            project_to_samples[query_dict(sample, 'data.project_id')].append(sample.get('data'))
            self.all_samples_dict[query_dict(sample, 'data.sample_id')] = sample
        return project_to_samples
def deliverable_samples ( self ) : if self . process . type . name != release_trigger_lims_step_name : raise ValueError ( 'Process %s is not of the type ' + release_trigger_lims_step_name ) sample_names = [ a . samples [ 0 ] . name for a in self . process . all_inputs ( resolve = True ) ] project_to_samples = defaultdict ( list ) samples = [ self . get_sample_data ( sample ) for sample in sample_names ] for sample in samples : project_to_samples [ query_dict ( sample , 'data.project_id' ) ] . append ( sample . get ( 'data' ) ) self . all_samples_dict [ query_dict ( sample , 'data.sample_id' ) ] = sample return project_to_samples
Retrieve the names of samples that went through the authorisation step.
Retrieve the names of samples that went through the authorisation step .
"""Retrieve the names of samples that went through the authorisation step. Then get the data associated."""
self