Skip to content

Commit

Permalink
fixed a bug for labpop when generating more null markers than qtls
Browse files Browse the repository at this point in the history
  • Loading branch information
gc5k committed Jan 3, 2018
1 parent 80caef8 commit fe2fc89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
*/.settings
*/.externalToolBuilders
*/.DS_Store
*/gear.jar
/.metadata/
2 changes: 1 addition & 1 deletion GEAR/src/gear/subcommands/labpop/LabPopCommandImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ private void writeEffFile()
int cnt=0;
for (int i = 0; i < M; i++)
{
if(i == idx[cnt])
if (cnt < idx.length && i == idx[cnt])
{
QTLFile.println("rs" + i);
cnt++;
Expand Down

0 comments on commit fe2fc89

Please sign in to comment.