Skip to content
Merged
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
4 changes: 3 additions & 1 deletion genotyping/src/org/labkey/genotyping/GenotypingManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@
import java.util.Map;
import java.util.Properties;

import static org.labkey.api.exp.api.ExperimentService.asInteger;

public class GenotypingManager
{
private static final GenotypingManager _instance = new GenotypingManager();
Expand Down Expand Up @@ -405,7 +407,7 @@ public int insertMatch(User user, GenotypingAnalysis analysis, int sampleId, Res

Map<String, Object> matchOut = Table.insert(user, gs.getMatchesTable(), row);

int matchId = (Integer)matchOut.get("RowId");
int matchId = asInteger(matchOut.get("RowId"));

// Insert all the alleles in this group into AllelesJunction table
if (alleleIds.length > 0)
Expand Down