From ec61361b09b9ef6a50cc2684acdf3f794c12f1cc Mon Sep 17 00:00:00 2001 From: Guo-Bo Chen Date: Thu, 30 Dec 2021 20:56:05 +0800 Subject: [PATCH] fix bug for --mpheno --- GEAR/src/gear/subcommands/CommandArguments.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GEAR/src/gear/subcommands/CommandArguments.java b/GEAR/src/gear/subcommands/CommandArguments.java index 587dce27..b7b9ad09 100644 --- a/GEAR/src/gear/subcommands/CommandArguments.java +++ b/GEAR/src/gear/subcommands/CommandArguments.java @@ -265,8 +265,8 @@ public void setPhenotypeFile(String pheFile) { public void setPhenotypeIndex(String[] pheIndex) { CommandSplitter CS = new CommandSplitter.Builder(pheIndex).OPT(Command.OPT_MPHE).IntMin(1).create(); this.mPheno = CS.ParseToInt(); - for(int i = 0; i < this.mPheno.length; i++) { - this.mPheno[i]--; + for (int i = 0; i < this.mPheno.length; i++) { +// this.mPheno[i]--; if (this.mPheno[i] < 0) { Logger.printUserLog("incorrect --mphe " + (mPheno[i]+1) + ". It should be > 0."); System.exit(0);