Skip to content

Commit 59f010c

Browse files
(Integer)
1 parent 296d9d3 commit 59f010c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/OutputIntegrationTests.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@
4949
import java.util.Map;
5050
import java.util.Set;
5151

52+
import static org.labkey.api.exp.api.ExperimentService.asInteger;
53+
5254
/**
5355
* Created by bimber on 9/18/2016.
5456
*/
@@ -235,7 +237,7 @@ private int createTestVcf(int genomeId, File vcf)
235237

236238
params = Table.insert(TestContext.get().getUser(), SequenceAnalysisSchema.getTable(SequenceAnalysisSchema.TABLE_OUTPUTFILES), params);
237239

238-
return (Integer)params.get("rowid");
240+
return asInteger(params.get("rowid"));
239241
}
240242
}
241243
}

0 commit comments

Comments
 (0)