if (ids == null){ return new LinkedList<String>(); }
return Arrays.asList(ids);
}
public List<String> getBioModelIdsByPublication(String publication){
BioModelsWSClient client = createBioModelsWSClient();
String[] ids = null;
try {
ids = client.getModelsIdByPublication(publication);
} catch (BioModelsWSException e) {
e.printStackTrace();
}
if (ids == null){ return new LinkedList<String>(); }
return Arrays.asList(ids);