From 3f6d7de94abb251302d7ee3734282516a30ff128 Mon Sep 17 00:00:00 2001 From: nfaguirrec Date: Sat, 28 Mar 2020 12:14:02 +0100 Subject: [PATCH] Bug fixed: M3C.p was running calculations in the wrong order --- src/M3C.p | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/M3C.p b/src/M3C.p index 5f829e3..b3fbad1 100755 --- a/src/M3C.p +++ b/src/M3C.p @@ -236,6 +236,8 @@ main(){ cp $iFile $iFileEff echo "runM3C $iFileEff ${excitationEnergy[$i]} ${numberOfEvents[$i]} $keepOutputFiles" >> .commands$$ done + + sed -i '1!G;h;$!d' .commands$$ # Print in reverse order parallel .commands$$ $nThreads rm .commands$$