File tree Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Expand file tree Collapse file tree 2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -209,7 +209,9 @@ def test_retrieve_dropped_samples(self):
209209 'Description' : 'Test Sample 1' ,
210210 'str_column' : 'Value for sample 1' ,
211211 'latitude' : 42.42 ,
212- 'longitude' : 41.41 },
212+ 'longitude' : 41.41 ,
213+ 'taxon_id' : 9606 ,
214+ 'scientific_name' : 'homo sapiens' },
213215 'SKD8.640184' : {'physical_specimen_location' : 'location1' ,
214216 'physical_specimen_remaining' : True ,
215217 'dna_extracted' : True ,
@@ -221,7 +223,9 @@ def test_retrieve_dropped_samples(self):
221223 'Description' : 'Test Sample 2' ,
222224 'str_column' : 'Value for sample 2' ,
223225 'latitude' : 4.2 ,
224- 'longitude' : 1.1 },
226+ 'longitude' : 1.1 ,
227+ 'taxon_id' : 9606 ,
228+ 'scientific_name' : 'homo sapiens' },
225229 'SKB7.640196' : {'physical_specimen_location' : 'location1' ,
226230 'physical_specimen_remaining' : True ,
227231 'dna_extracted' : True ,
@@ -233,7 +237,9 @@ def test_retrieve_dropped_samples(self):
233237 'Description' : 'Test Sample 3' ,
234238 'str_column' : 'Value for sample 3' ,
235239 'latitude' : 4.8 ,
236- 'longitude' : 4.41 },
240+ 'longitude' : 4.41 ,
241+ 'taxon_id' : 9606 ,
242+ 'scientific_name' : 'homo sapiens' },
237243 }
238244 metadata = pd .DataFrame .from_dict (metadata_dict , orient = 'index' )
239245
Original file line number Diff line number Diff line change @@ -725,19 +725,19 @@ def test_update_preprocessed_data_from_cmd_ppd(self):
725725 "sample_name\t required_sample_info_status\t collection_timestamp\t "
726726 "sample_type\t physical_specimen_remaining\t physical_specimen_location\t "
727727 "dna_extracted\t host_subject_id\t Treatment\t DOB\t latitude\t longitude"
728- "\t Description\n "
728+ "\t taxon_id \t scientific_name \ t Description\n "
729729 "PC.354\t received\t 2014-06-18 16:44\t type_1\t True\t Location_1\t True\t "
730730 "HS_ID_PC.354\t Control\t 20061218\t 1.88401499993\t 56.0003871552\t "
731- "Control_mouse_I .D._354\n "
731+ "9606 \t homo sapiens \t Control_mouse_I .D._354\n "
732732 "PC.593\t received\t 2014-06-18 16:44\t type_1\t True\t Location_1\t True\t "
733733 "HS_ID_PC.593\t Control\t 20071210\t 35.4079458313\t 83.2595338611\t "
734- "Control_mouse_I .D._593\n "
734+ "9606 \t homo sapiens \t Control_mouse_I .D._593\n "
735735 "PC.607\t received\t 2014-06-18 16:44\t type_1\t True\t Location_1\t True\t "
736736 "HS_ID_PC.607\t Fast\t 20071112\t 18.3175615444\t 91.3713989729\t "
737- "Fasting_mouse_I .D._607\n "
737+ "9606 \t homo sapiens \t Fasting_mouse_I .D._607\n "
738738 "PC.636\t received\t 2014-06-18 16:44\t type_1\t True\t Location_1\t True\t "
739739 "HS_ID_PC.636\t Fast\t 20080116\t 31.0856060708\t 4.16781143893\t "
740- "Fasting_mouse_I .D._636" )
740+ "9606 \t homo sapiens \t Fasting_mouse_I .D._636" )
741741
742742PREP_TEMPLATE = (
743743 'sample_name\t barcode\t center_name\t center_project_name\t '
You can’t perform that action at this time.
0 commit comments