From e340494bf8fcce550a44aadcf69b278916b5e132 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoshiki=20V=C3=A1zquez=20Baeza?= Date: Thu, 18 Feb 2016 09:26:37 -0800 Subject: [PATCH] BUG: Remove misleading QIIME version Fixes #447 --- ChangeLog.md | 1 + emperor/format.py | 2 -- tests/test_format.py | 4 ---- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index a467afd1..9b445a2a 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -9,6 +9,7 @@ Emperor 0.9.51-dev (changes since Emperor 0.9.5 go here) * Fix problem where `make_emperor.py` would attempt to parse `Icon?` files when a directory was passed via the `-i` option ([#323](https://github.com/biocore/emperor/issues/323)). * Fix bug where Emperor would try to animate trajectories with a single timepoint i.e. a single unique value in the gradient category. * Fix bug where the output saved to `--biplot_fp` would list the principal coordinate axes starting at zero instead of one ([#389](https://github.com/biocore/emperor/issues/389)). +* Remove misleading "QIIME version" from `index.html` ([#447](https://github.com/biocore/emperor/issues/447)). ### Miscellaneous diff --git a/emperor/format.py b/emperor/format.py index 0830aaa6..64c3ff86 100644 --- a/emperor/format.py +++ b/emperor/format.py @@ -33,7 +33,6 @@ from emperor.qiime_backports.filter import ( sample_ids_from_metadata_description) from emperor.qiime_backports.util import MetadataMap -from emperor.qiime_backports import __version__ as qiime_backports_version class EmperorLogicError(ValueError): @@ -569,7 +568,6 @@ def format_emperor_autograph(metadata_fp, coords_fp, language='HTML'): # add library version and SHA-1 if available autograph.append('Emperor Version: %s' % get_emperor_library_version()) - autograph.append('QIIME Version: %s' % qiime_backports_version) autograph.append('HostName: %s' % gethostname()) # full path to input files diff --git a/tests/test_format.py b/tests/test_format.py index 99eeaaa5..55fa9c91 100644 --- a/tests/test_format.py +++ b/tests/test_format.py @@ -336,7 +336,6 @@ def test_format_emperor_autograph(self): self.assertTrue('HostName:' in autograph) self.assertTrue("Command:" in autograph) self.assertTrue("Emperor Version: " in autograph) - self.assertTrue("QIIME Version: " in autograph) self.assertTrue("Command executed on " in autograph) autograph = format_emperor_autograph('mapping_file.txt', @@ -352,7 +351,6 @@ def test_format_emperor_autograph(self): self.assertTrue('HostName:' in autograph) self.assertTrue("Command:" in autograph) self.assertTrue("Emperor Version: " in autograph) - self.assertTrue("QIIME Version: " in autograph) self.assertTrue("Command executed on " in autograph) autograph = format_emperor_autograph('mapping_file.txt', @@ -368,7 +366,6 @@ def test_format_emperor_autograph(self): self.assertTrue('HostName:' in autograph) self.assertTrue("Command:" in autograph) self.assertTrue("Emperor Version: " in autograph) - self.assertTrue("QIIME Version: " in autograph) self.assertTrue("Command executed on " in autograph) autograph = format_emperor_autograph('mapping_file.txt', @@ -384,7 +381,6 @@ def test_format_emperor_autograph(self): self.assertTrue('HostName:' in autograph) self.assertTrue("Command:" in autograph) self.assertTrue("Emperor Version: " in autograph) - self.assertTrue("QIIME Version: " in autograph) self.assertTrue("Command executed on " in autograph) # haskell and cobol are ... not supported