Skip to content

Commit

Permalink
Add docstring to method to update fraction genome altered clinical at…
Browse files Browse the repository at this point in the history
…tribute

Specify that sampleIds is optional and can be set to null
  • Loading branch information
forus committed Jul 11, 2024
1 parent 0df91c9 commit 990218d
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,15 @@ public static int addCopyNumberSegment(CopyNumberSegment seg) throws DaoExceptio
}
}

/**
* Ensures FRACTION_GENOME_ALTERED clinical sample attribute is created and up to date.
* @param cancerStudyId - id of the study to create the clinical attribute for
* @param sampleIds - specifies for which samples to calculate this attribute.
* if sampleIds=null, the calculation is done for all samples in the study
* @param updateMode - if true, updates the attribute if it exists
* @throws DaoException
*/

public static void createFractionGenomeAlteredClinicalData(int cancerStudyId, Set<Integer> sampleIds, boolean updateMode) throws DaoException {
Connection con = null;
PreparedStatement pstmt = null;
Expand Down

0 comments on commit 990218d

Please sign in to comment.