use of io.scif.services.DatasetIOService in project vcell by virtualcell.
the class MainController method getDatasetFromFile.
private Dataset getDatasetFromFile(File file) {
DatasetIOService datasetIOService = context.getService(DatasetIOService.class);
Dataset dataset = null;
try {
dataset = datasetIOService.open(file.getAbsolutePath());
} catch (IOException e) {
e.printStackTrace();
}
return dataset;
}
Aggregations