Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
frauzufall committed Jul 3, 2023
1 parent 8adcfe6 commit 81e14de
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

import java.io.File;
import java.io.IOException;
import java.nio.file.Files;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
Expand All @@ -23,8 +24,7 @@ public void testPipeline() throws IOException, JSONException {

Context context = new Context();
context.service(UIService.class).showUI();
// File projectDir = Files.createTempDirectory("project").toFile();
File projectDir = new File("/home/deschmi/Development/album/collabs/betaseg/bla");
File projectDir = Files.createTempDirectory("project").toFile();
CellProject project = new CellProject(projectDir, "myproject", context);
String input = getClass().getResource("/example-project/sections-180-220.tif").getFile();
String mitochondria = getClass().getResource("/example-project/mitochondria.tif").getFile();
Expand All @@ -36,10 +36,8 @@ public void testPipeline() throws IOException, JSONException {
assertEquals(3, project.getItems().size());
project.saveConfig();
project.unload();
project.run();
while(true){
// project.run();

}
//
// new CellAnalyzer(project, false, context.service(OpService.class), 0.02).analyze();
// assertEquals(3, labelmapitem.getLabelMap().getTagItems().size());
Expand Down

0 comments on commit 81e14de

Please sign in to comment.