Skip to content

Commit 200c08b

Browse files
committed
Ignore edb folder when resolving. Fixes #407
1 parent 375533a commit 200c08b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

EnrichmentMapPlugin/src/main/java/org/baderlab/csplugins/enrichmentmap/resolver/DataSetResolverTask.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,10 @@ public void run(TaskMonitor tm) {
4949
if(Files.isDirectory(path)) {
5050
for(File subdirectory : path.toFile().listFiles(File::isDirectory)) {
5151
Path subDirPath = subdirectory.toPath();
52-
if(matcher == null || matcher.matches(subDirPath.getFileName())) {
53-
paths.add(subDirPath);
52+
if(!subDirPath.endsWith("edb")) {
53+
if(matcher == null || matcher.matches(subDirPath.getFileName())) {
54+
paths.add(subDirPath);
55+
}
5456
}
5557
}
5658
}

0 commit comments

Comments
 (0)