diff --git a/qiita_db/support_files/initialize.sql b/qiita_db/support_files/initialize.sql index 8d9b1d76f..e0bfdbb99 100644 --- a/qiita_db/support_files/initialize.sql +++ b/qiita_db/support_files/initialize.sql @@ -38,4 +38,4 @@ INSERT INTO qiita.filepath_type (filepath_type) VALUES ('raw_sequences'), ('raw_ INSERT INTO qiita.checksum_algorithm (name) VALUES ('crc32'); -- Populate commands available -INSERT INTO qiita.command (name, command) VALUES ('Summarize Taxa', 'summarize_taxa_through_plots.py'), ('Beta Diversity', 'beta_diversity_through_plots.py'), ('Alpha Diversity', 'alpha_rarefaction_through_plots.py'); +INSERT INTO qiita.command (name, command) VALUES ('Summarize Taxa', 'summarize_taxa_through_plots.py'), ('Beta Diversity', 'beta_diversity_through_plots.py'), ('Alpha Rarefaction', 'alpha_rarefaction.py'); diff --git a/qiita_db/test/test_job.py b/qiita_db/test/test_job.py index d273aabfd..2a0bb89f4 100644 --- a/qiita_db/test/test_job.py +++ b/qiita_db/test/test_job.py @@ -53,7 +53,7 @@ def test_exists_not_there(self): def test_create(self): """Makes sure creation works as expected""" # make first job - new = Job.create("18S", "Alpha Diversity", + new = Job.create("18S", "Alpha Rarefaction", self.options, Analysis(1)) self.assertEqual(new.id, 4) # make sure job inserted correctly diff --git a/qiita_pet/handlers/analysis_handlers.py b/qiita_pet/handlers/analysis_handlers.py index 1474f788a..9cbf4ea4f 100644 --- a/qiita_pet/handlers/analysis_handlers.py +++ b/qiita_pet/handlers/analysis_handlers.py @@ -57,9 +57,9 @@ def post(self): data_types = sorted(list(data_types)) # FIXME: Pull out from the database, see #111 - commands = {'16S': ['Alpha Diversity', 'Beta Diversity', + commands = {'16S': ['Alpha Rarefaction', 'Beta Diversity', 'Summarize Taxa'], - '18S': ['Alpha Diversity', 'Beta Diversity', + '18S': ['Alpha Rarefaction', 'Beta Diversity', 'Summarize Taxa'], 'Metabolomic': ['Summarize Taxa']}