@@ -1820,7 +1820,7 @@ def test_to_dataframe(self):
1820
1820
'latitude' : '42.42' ,
1821
1821
'longitude' : '41.41' ,
1822
1822
'taxon_id' : '9606' ,
1823
- 'qiita_sample_id ' : str (new_id ),
1823
+ 'qiita_study_id ' : str (new_id ),
1824
1824
'scientific_name' : 'homo sapiens' },
1825
1825
'%s.Sample2' % new_id : {
1826
1826
'physical_specimen_location' : 'location1' ,
@@ -1834,7 +1834,7 @@ def test_to_dataframe(self):
1834
1834
'latitude' : '4.2' ,
1835
1835
'longitude' : '1.1' ,
1836
1836
'taxon_id' : '9606' ,
1837
- 'qiita_sample_id ' : str (new_id ),
1837
+ 'qiita_study_id ' : str (new_id ),
1838
1838
'scientific_name' : 'homo sapiens' },
1839
1839
'%s.Sample3' % new_id : {
1840
1840
'physical_specimen_location' : 'location1' ,
@@ -1848,7 +1848,7 @@ def test_to_dataframe(self):
1848
1848
'latitude' : '4.8' ,
1849
1849
'longitude' : '4.41' ,
1850
1850
'taxon_id' : '9606' ,
1851
- 'qiita_sample_id ' : str (new_id ),
1851
+ 'qiita_study_id ' : str (new_id ),
1852
1852
'scientific_name' : 'homo sapiens' },
1853
1853
}
1854
1854
exp = pd .DataFrame .from_dict (exp_dict , orient = 'index' , dtype = str )
@@ -1885,7 +1885,7 @@ def test_to_dataframe(self):
1885
1885
'water_content_soil' , 'elevation' , 'temp' , 'tot_nitro' ,
1886
1886
'samp_salinity' , 'altitude' , 'env_biome' , 'country' , 'ph' ,
1887
1887
'anonymized_name' , 'tot_org_carb' , 'description_duplicate' ,
1888
- 'env_feature' , 'scientific_name' , 'qiita_sample_id ' })
1888
+ 'env_feature' , 'scientific_name' , 'qiita_study_id ' })
1889
1889
1890
1890
def test_check_restrictions (self ):
1891
1891
obs = self .tester .check_restrictions (
@@ -2170,7 +2170,7 @@ def test_delete_sample(self):
2170
2170
EXP_SAMPLE_TEMPLATE = (
2171
2171
"sample_name\t collection_timestamp\t description\t dna_extracted\t "
2172
2172
"host_subject_id\t latitude\t longitude\t physical_specimen_location\t "
2173
- "physical_specimen_remaining\t qiita_sample_id \t sample_type\t "
2173
+ "physical_specimen_remaining\t qiita_study_id \t sample_type\t "
2174
2174
"scientific_name\t taxon_id\n "
2175
2175
"{0}.Sample1\t 05/29/2014 12:24:15\t Test Sample 1\t true\t NotIdentified\t "
2176
2176
"42.42\t 41.41\t location1\t true\t {0}\t type1\t homo sapiens\t 9606\n "
@@ -2182,7 +2182,7 @@ def test_delete_sample(self):
2182
2182
EXP_SAMPLE_TEMPLATE_FEWER_SAMPLES = (
2183
2183
"sample_name\t collection_timestamp\t description\t dna_extracted\t "
2184
2184
"host_subject_id\t latitude\t longitude\t physical_specimen_location\t "
2185
- "physical_specimen_remaining\t qiita_sample_id \t sample_type\t "
2185
+ "physical_specimen_remaining\t qiita_study_id \t sample_type\t "
2186
2186
"scientific_name\t taxon_id\n "
2187
2187
"{0}.Sample1\t 05/29/2014 12:24:15\t Test Sample 1\t true\t NotIdentified\t "
2188
2188
"42.42\t 41.41\t location1\t true\t {0}\t type1\t homo sapiens\t 9606\n "
0 commit comments