Closed chinchien-lin closed 1 year ago
def add_data(self, source_path, data_type, subject, sample, sds_parent_dir=None, copy=True, overwrite=False, sample_metadata={}, subject_metadata={}):
dataset.add_data( data_type='primary')
to call add_primary_data
dataset.add_data( data_type='derivative')
to call add_derivative_data
destination_folder
variable in add_primary_data
and add_derivative_data
:
destination_folder = '/tem/data/primary/subject/sample'
Resolved by #89
Update the add_datqa function
Relates to #80 #84