qiime/qiime — pull request #434 by jrrideout (2012-11-06 00:18:01+00:00)
Title: Fixes for issues #423 and #424.

This pull request fixes issues #423 and #424.

Added utility methods to MetadataMap class to check for numeric categories, unique categories, and single-value (non-varying) categories. Modified CategoryStats class to allow restrictions to be placed on the type of categories that a statistical method will accept (e.g. the category must be numeric, or it must specify more than one group of samples, etc.).

Significant refactor of underlying code to be better tested and maintained easier (new qiime/compare_categories.py and tests/test_compare_categories.py modules). Fixed output format for BEST method to be easier to read and consistent with the other methods. Cleaned up a few other things to improve the quality and consistency of the code.