[med-svn] [Git][med-team/python-biopython][master] Reduce the required precision in test_phenotype_fit.TestPhenoMicro

Michael R. Crusoe gitlab at salsa.debian.org
Tue Dec 17 15:27:27 GMT 2019



Michael R. Crusoe pushed to branch master at Debian Med / python-biopython


Commits:
3a18cae2 by Michael R. Crusoe at 2019-12-17T10:36:27Z
Reduce the required precision in test_phenotype_fit.TestPhenoMicro

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/ppc64el_precision
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+python-biopython (1.75+dfsg-4) unstable; urgency=medium
+
+  * Team upload.
+  * Patch added to reduce the required precision for one part of the
+    test_phenotype_fit.TestPhenoMicro test
+
+ -- Michael R. Crusoe <michael.crusoe at gmail.com>  Tue, 17 Dec 2019 11:35:41 +0100
+
 python-biopython (1.75+dfsg-3) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/patches/ppc64el_precision
=====================================
@@ -0,0 +1,13 @@
+From: Michael R. Crusoe <michael.crusoe at gmail.com>
+Subject: Reduce presision in part of Tests/test_phenotype_fit.py
+--- python-biopython.orig/Tests/test_phenotype_fit.py
++++ python-biopython/Tests/test_phenotype_fit.py
+@@ -56,7 +56,7 @@
+         self.assertAlmostEqual(w.area, 20879.5)
+         self.assertEqual(w.model, "gompertz")
+         self.assertAlmostEqual(w.lag, 6.0425868725090357, places=5)
+-        self.assertAlmostEqual(w.plateau, 188.51404344898586, places=5)
++        self.assertAlmostEqual(w.plateau, 188.51404344898586, places=4)
+         self.assertAlmostEqual(w.slope, 48.190618284831132, places=4)
+         self.assertAlmostEqual(w.v, 0.10000000000000001, places=5)
+         self.assertAlmostEqual(w.y0, 45.879770069807989, places=5)


=====================================
debian/patches/series
=====================================
@@ -4,3 +4,4 @@ python_3.8_iteration_fix.patch
 exclude_docstring_tests.patch
 arm.patch
 fix_doctests
+ppc64el_precision



View it on GitLab: https://salsa.debian.org/med-team/python-biopython/commit/3a18cae234e919ba974bbb3425b4c4a138bc8a7c

-- 
View it on GitLab: https://salsa.debian.org/med-team/python-biopython/commit/3a18cae234e919ba974bbb3425b4c4a138bc8a7c
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/20191217/81aafbec/attachment-0001.html>


More information about the debian-med-commit mailing list