Skip to content
Snippets Groups Projects
Commit 6c2fbf20 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

target participants returned as references

parent 031f108d
No related branches found
No related tags found
1 merge request!57References rest result improved
......@@ -156,9 +156,9 @@ public class MiRnaRestImpl extends BaseRestImpl {
Map<String, Object> result = new HashMap<>();
result.put("name", target.getName());
result.put("references", createAnnotations(target.getReferences()));
List<AnnotationView> participants = new ArrayList<>();
List<Map<String, Object>> participants = new ArrayList<>();
for (GeneRow row : target.getProteins()) {
participants.add(row.getAnnotation());
participants.add(createAnnotation(row.getAnnotation()));
}
result.put("targetParticipants", participants);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment