Skip to content

Commit

Permalink
refactor: Close connection before reading lines
Browse files Browse the repository at this point in the history
Signed-off-by: jvfe <[email protected]>
  • Loading branch information
jvfe committed May 9, 2024
1 parent f5f8ea0 commit aad9413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/ParallelEvolCCM.R
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,8 @@ for (temp_file in temp_files) {
}

# Read the lines from the input file
lines <- readLines(outputFilegz)[-1]
close(outputFilegz)
lines <- readLines(outputFile)[-1]
X2file = paste(outputFile,"X2",sep = ".")
Pfile = paste(outputFile,"pvals",sep = ".")

Expand Down

0 comments on commit aad9413

Please sign in to comment.