[med-svn] [Git][med-team/q2-sample-classifier][upstream] New upstream version 2022.8.0
Mohd Bilal (@rmb)
gitlab at salsa.debian.org
Wed Sep 7 12:51:00 BST 2022
Mohd Bilal pushed to branch upstream at Debian Med / q2-sample-classifier
Commits:
7d791d49 by Mohammed Bilal at 2022-09-07T11:30:51+00:00
New upstream version 2022.8.0
- - - - -
3 changed files:
- ci/recipe/meta.yaml
- q2_sample_classifier/_version.py
- q2_sample_classifier/tests/test_utilities.py
Changes:
=====================================
ci/recipe/meta.yaml
=====================================
@@ -19,11 +19,11 @@ requirements:
run:
- python {{ python }}
- pandas {{ pandas }}
- - scipy
+ - scipy {{ scipy }}
- numpy
- joblib
- scikit-learn {{ scikit_learn }}
- - scikit-bio
+ - scikit-bio {{ scikit_bio }}
- seaborn >=0.8
- fastcluster
- qiime2 {{ qiime2_epoch }}.*
=====================================
q2_sample_classifier/_version.py
=====================================
@@ -23,9 +23,9 @@ def get_keywords():
# setup.py/versioneer.py will grep for the variable names, so they must
# each be defined on a line of their own. _version.py will just call
# get_keywords().
- git_refnames = " (tag: 2022.2.0)"
- git_full = "5056003cb20259dfc4dd046c9043f0d89740bc95"
- git_date = "2022-02-18 18:51:19 +0000"
+ git_refnames = " (tag: 2022.8.0)"
+ git_full = "b8258d820faf77bd27634664047b4c16dbd70ceb"
+ git_date = "2022-08-23 16:27:09 +0000"
keywords = {"refnames": git_refnames, "full": git_full, "date": git_date}
return keywords
=====================================
q2_sample_classifier/tests/test_utilities.py
=====================================
@@ -88,7 +88,7 @@ class UtilitiesTests(SampleClassifierTestPluginBase):
_disable_feature_selection('KNeighborsClassifier', False)
def test_mean_feature_importance_1d_arrays(self):
- exp = pd.DataFrame([10, 9, 8, 7], columns=["importance0"],
+ exp = pd.DataFrame([10., 9., 8., 7.], columns=["importance0"],
index=[3, 2, 1, 0])
imps = [pd.DataFrame([1, 2, 3, 4], columns=["importance0"]),
pd.DataFrame([5, 6, 7, 8], columns=["importance0"]),
@@ -97,7 +97,7 @@ class UtilitiesTests(SampleClassifierTestPluginBase):
pdt.assert_frame_equal(_mean_feature_importance(imps), exp)
def test_mean_feature_importance_different_column_names(self):
- exp = pd.DataFrame([[6, 5, 4, 3], [14, 13, 12, 11]],
+ exp = pd.DataFrame([[6., 5., 4., 3.], [14., 13., 12., 11.]],
index=["importance0", "importance1"],
columns=[3, 2, 1, 0]).T
imps = [pd.DataFrame([1, 2, 3, 4], columns=["importance0"]),
View it on GitLab: https://salsa.debian.org/med-team/q2-sample-classifier/-/commit/7d791d49afedf27c07ea9a71be59de95b5c51072
--
View it on GitLab: https://salsa.debian.org/med-team/q2-sample-classifier/-/commit/7d791d49afedf27c07ea9a71be59de95b5c51072
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20220907/72ce0c06/attachment-0001.htm>
More information about the debian-med-commit
mailing list