Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ehr/resources/pipeline/install.r
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
##

#installs required packages for populateKinship.r
install.packages("kinship2", "Rlabkey", "getopt", "Matrix", "pedigree", dependencies=TRUE);
install.packages(c("kinship2", "Rlabkey", "getopt", "Matrix", "pedigree"), dependencies=TRUE);
Original file line number Diff line number Diff line change
Expand Up @@ -306,13 +306,13 @@ else if (kinshipTable.getSqlDialect().isPostgreSQL())

if (lineNum % 250000 == 0)
{
log.info("imported " + lineNum + " rows");
log.info("imported " + String.format("%,d", lineNum) + " rows");
}
}

stmt.executeBatch();
transaction.commit();
log.info("Inserted " + lineNum + " rows into ehr.kinship");
log.info("Inserted " + String.format("%,d", lineNum) + " rows into ehr.kinship");
}
}
catch (RuntimeSQLException | SQLException | IOException e)
Expand Down Expand Up @@ -705,7 +705,7 @@ private static void processInbreeding(Container c, User u, File pipelineDir, Log

transaction.commit();
}
log.info("Inserted " + lineNum + " rows into inbreeding coefficients table");
log.info("Inserted " + String.format("%,d", lineNum) + " rows into inbreeding coefficients table");

}
catch (DuplicateKeyException | SQLException | IOException | QueryUpdateServiceException e)
Expand Down