[med-svn] [mapdamage] 01/01: fix name of the patch
Nadiya Sitdykova
rovenskasa-guest at moszumanska.debian.org
Wed Mar 29 04:45:26 UTC 2017
This is an automated email from the git hooks/post-receive script.
rovenskasa-guest pushed a commit to branch master
in repository mapdamage.
commit 935164a1476731e1f5727bc5e30a517a58c21e0f
Author: nadiya <nadiya at debian>
Date: Wed Mar 29 00:45:15 2017 -0400
fix name of the patch
---
debian/patches/fix_quantile_na_rm.patch | 20 ++++++++++++++++++++
debian/patches/series | 2 +-
2 files changed, 21 insertions(+), 1 deletion(-)
diff --git a/debian/patches/fix_quantile_na_rm.patch b/debian/patches/fix_quantile_na_rm.patch
new file mode 100644
index 0000000..30d2ba6
--- /dev/null
+++ b/debian/patches/fix_quantile_na_rm.patch
@@ -0,0 +1,20 @@
+Author: Nadiya Sitdykova
+Description: change calcSampleStats such as any NA and Nan's are
+ removed before quantiles are computed
+Last-Update: 2017-03-28
+
+Index: mapdamage/mapdamage/Rscripts/stats/function.R
+===================================================================
+--- mapdamage.orig/mapdamage/Rscripts/stats/function.R 2017-03-29 00:02:46.538470957 -0400
++++ mapdamage/mapdamage/Rscripts/stats/function.R 2017-03-29 00:11:09.141025051 -0400
+@@ -595,8 +595,8 @@
+ pos=da[,"Pos"],
+ mea=apply(X,1,mean),
+ med=apply(X,1,median),
+- loCI=apply(X,1,quantile,c(0.025)),
+- hiCI=apply(X,1,quantile,c(0.975))
++ loCI=apply(X,1,quantile,c(0.025),na.rm=TRUE),
++ hiCI=apply(X,1,quantile,c(0.975),na.rm=TRUE)
+ ))
+ }
+
diff --git a/debian/patches/series b/debian/patches/series
index f14293f..b417cbc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,2 @@
use_debian_packaged_seqtk.patch
-01_fix_quantile_na_rm.patch
+fix_quantile_na_rm.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/mapdamage.git
More information about the debian-med-commit
mailing list