[Genabel-commits] r1209 - pkg/ProbABEL/examples

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri May 10 13:31:50 CEST 2013


Author: lckarssen
Date: 2013-05-10 13:31:50 +0200 (Fri, 10 May 2013)
New Revision: 1209

Modified:
   pkg/ProbABEL/examples/Makefile.am
   pkg/ProbABEL/examples/example_bt.sh
   pkg/ProbABEL/examples/example_mms.sh
   pkg/ProbABEL/examples/example_qt.sh
Log:
Small fixes to the example scripts to make them work when running make distcheck. 
The run_diff.sh script wasn't mentioned in the Makefile.am and therefore not included in the tar-ball. In the example*.sh scripts the source-ing of the run_diff.sh script didn't work when running make distcheck because the $srcdir variable wasn't used. Now it is. 


Modified: pkg/ProbABEL/examples/Makefile.am
===================================================================
--- pkg/ProbABEL/examples/Makefile.am	2013-05-07 16:55:48 UTC (rev 1208)
+++ pkg/ProbABEL/examples/Makefile.am	2013-05-10 11:31:50 UTC (rev 1209)
@@ -4,7 +4,7 @@
 
 examplefiles = height_ngp2_robust_int1_over_domin.out.txt.save		\
  test.prob.fvi mmscore_gen.prob.fvd test.map mldose.IDS			\
- impute_with_missing.mlinfo						\
+ impute_with_missing.mlinfo run_diff.sh					\
  height_ngp2_robust_int1_recess.out.txt.save				\
  height_ngp2_2df.out.txt.save mmscore_gen.mlprob mmscore_gen.mlinfo	\
  height_ngp2_robust_recess.out.txt.save example_cox.sh test.mlprob	\

Modified: pkg/ProbABEL/examples/example_bt.sh
===================================================================
--- pkg/ProbABEL/examples/example_bt.sh	2013-05-07 16:55:48 UTC (rev 1208)
+++ pkg/ProbABEL/examples/example_bt.sh	2013-05-10 11:31:50 UTC (rev 1209)
@@ -2,13 +2,13 @@
 # This script runs checks on ProbABEL's palogist module for
 # binary traits.
 
-. ./run_diff.sh
-
 echo "analysing BT"
 if [ -z ${srcdir} ]; then
     srcdir="."
 fi
 
+. ${srcdir}/run_diff.sh
+
 # Redirect all output to file descriptor 3 to /dev/null except if
 # the first argument is "verbose" then redirect handle 3 to stdout
 exec 3>/dev/null

Modified: pkg/ProbABEL/examples/example_mms.sh
===================================================================
--- pkg/ProbABEL/examples/example_mms.sh	2013-05-07 16:55:48 UTC (rev 1208)
+++ pkg/ProbABEL/examples/example_mms.sh	2013-05-10 11:31:50 UTC (rev 1209)
@@ -2,13 +2,13 @@
 # This script runs checks on ProbABEL's palinear module for
 # quantitative traits combined with the mmscore option.
 
-. ./run_diff.sh
-
 echo "analysis using MMScore"
 if [ -z ${srcdir} ]; then
     srcdir="."
 fi
 
+. ${srcdir}/run_diff.sh
+
 # Redirect all output to file descriptor 3 to /dev/null except if
 # the first argument is "verbose" then redirect handle 3 to stdout
 exec 3>/dev/null

Modified: pkg/ProbABEL/examples/example_qt.sh
===================================================================
--- pkg/ProbABEL/examples/example_qt.sh	2013-05-07 16:55:48 UTC (rev 1208)
+++ pkg/ProbABEL/examples/example_qt.sh	2013-05-10 11:31:50 UTC (rev 1209)
@@ -2,13 +2,14 @@
 # This script runs checks on ProbABEL's palinear module for
 # quantitative traits.
 
-. ./run_diff.sh
-
 echo "analysing QT"
 if [ -z ${srcdir} ]; then
     srcdir="."
 fi
 
+. ${srcdir}/run_diff.sh
+
+
 # Redirect all output to file descriptor 3 to /dev/null except if
 # the first argument is "verbose" then redirect handle 3 to stdout
 exec 3>/dev/null



More information about the Genabel-commits mailing list