[med-svn] [mapdamage] 03/03: Revised simple tests for examples from documentation
Nadiya Sitdykova
rovenskasa-guest at moszumanska.debian.org
Thu Mar 30 01:17:27 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 c0be20d8c2d6f7a5ab8daf526605e1ea97443f61
Author: Nadiya Sitdykova <rovenskasa at gmail.com>
Date: Wed Mar 29 21:17:12 2017 -0400
Revised simple tests for examples from documentation
---
debian/changelog | 2 ++
debian/tests/run-unit-test | 14 +++++++-------
2 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 5f33eed..9687de0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,8 @@ mapdamage (2.0.6+dfsg-2) UNRELEASED; urgency=medium
* Add dependency providing liblapack.so and libblas.so
* Add file with reference containing all types of nucleotides
* Add information how to check R libraries and what to do in case of errors to README.test
+ * Revised simple tests for examples from documentation
+ Closes: #848326
-- rovenskasa-guest <rovenskasa at gmail.com> Thu, 23 Mar 2017 21:34:41 -0700
diff --git a/debian/tests/run-unit-test b/debian/tests/run-unit-test
index 286b7d9..dd4092e 100644
--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -10,11 +10,12 @@ fi
cd $ADTTMP
cp -a /usr/share/doc/${pkg}/tests/* .
+cp -a /usr/share/doc/${pkg}/ref_T.fa .
gunzip -r *
python rescale_test.py
-mapDamage -i rescale_test/pe_test/pe.sam -r rescale_test/pe_test/ref.fa
+mapDamage -i rescale_test/pe_test/pe.sam -r ref_T.fa
pdf_result="results_pe/Fragmisincorporation_plot.pdf"
if [ -e "$pdf_result" ]; then
@@ -27,13 +28,12 @@ fi
mapDamage -d results_pe -y 0.1 --plot-only
echo "checking stdin redirect..."
-cat rescale_test/pe_test/pe.sam | mapDamage -i - -r rescale_test/pe_test/ref.fa
+cat rescale_test/pe_test/pe.sam | mapDamage -i - -r ref_T.fa
-#rm -rf results_pe
-#mapDamage -i rescale_test/pe_test/pe.sam -r rescale_test/pe_test/ref.fa --rescale
-#--rescale doesn't work without R-libraries
+rm -rf results_pe
+mapDamage -i rescale_test/pe_test/pe.sam -r ref_T.fa --rescale
-#mapDamage -d results_pe --forward --stats-only -v
-#asks for -r reference when shouldn't
+mapDamage -d results_pe --forward --stats-only -v -r ref_T.fa
+#asks for -r reference when it's not mentioned in examples
--
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