Skip to content

Commit f5f4a1e

Browse files
committed
updating data type name
1 parent fdf9b6d commit f5f4a1e

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

qiita_db/processing_job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@ def _complete_artifact_definition(self, artifact_data):
12051205
else:
12061206
pt = None
12071207
an = None
1208-
data_type = 'job_output_folder'
1208+
data_type = 'Job Output Folder'
12091209

12101210
qdb.artifact.Artifact.create(
12111211
filepaths, atype, prep_template=pt, analysis=an,

qiita_db/support_files/patches/83.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
-- August 16, 2021
22
-- adding new artifact_type for raw_job_folder
3-
INSERT INTO qiita.data_type (data_type) VALUES ('job_output_folder');
3+
INSERT INTO qiita.data_type (data_type) VALUES ('Job Output Folder');

qiita_db/test/test_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def test_get_data_types(self):
157157
exp = {'16S': 1, '18S': 2, 'ITS': 3, 'Proteomic': 4, 'Metabolomic': 5,
158158
'Metagenomic': 6, 'Multiomic': 7, 'Metatranscriptomics': 8,
159159
'Viromics': 9, 'Genomics': 10, 'Transcriptomics': 11,
160-
'job_output_folder': 12}
160+
'Job Output Folder': 12}
161161
self.assertEqual(obs, exp)
162162

163163
obs = qdb.util.get_data_types(key='data_type_id')

qiita_pet/handlers/api_proxy/tests/test_prep_template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def test_new_prep_template_get_req(self):
5555
'data_types': ['16S', '18S', 'Genomics', 'ITS', 'Metabolomic',
5656
'Metagenomic', 'Metatranscriptomics', 'Multiomic',
5757
'Proteomic', 'Transcriptomics', 'Viromics',
58-
'job_output_folder'],
58+
'Job Output Folder'],
5959
'ontology': {
6060
'ENA': ['Cancer Genomics', 'Epigenetics', 'Exome Sequencing',
6161
'Forensic or Paleo-genomics', 'Gene Regulation Study',

qiita_pet/handlers/study_handlers/tests/test_sample_template.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def test_sample_template_overview_handler_get_request(self):
308308
'data_types': ['16S', '18S', 'Genomics', 'ITS', 'Metabolomic',
309309
'Metagenomic', 'Metatranscriptomics',
310310
'Multiomic', 'Proteomic', 'Transcriptomics',
311-
'Viromics', 'job_output_folder'],
311+
'Viromics', 'Job Output Folder'],
312312
'user_can_edit': True,
313313
'job': None,
314314
'download_id': None,

qiita_pet/test/test_download.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ def test_download(self):
426426
'are: 16S, 18S, ITS, Proteomic, Metabolomic, '
427427
'Metagenomic, Multiomic, Metatranscriptomics, '
428428
'Viromics, Genomics, Transcriptomics, '
429-
'job_output_folder')
429+
'Job Output Folder')
430430

431431
response = self.get(
432432
'/public_download/?data=raw&study_id=1&data_type=Genomics')

0 commit comments

Comments
 (0)