use of org.geneontology.minerva.json.JsonModel in project minerva by geneontology.
the class ARTHandlerTest method m3ResponseToJsonModel.
private static JsonModel m3ResponseToJsonModel(M3BatchResponse response) {
JsonModel jsonModel = new JsonModel();
jsonModel.annotations = response.data.annotations;
jsonModel.individuals = response.data.individuals;
jsonModel.facts = response.data.facts;
return jsonModel;
}
Aggregations