Commit 91a4f326 authored by Koehorst, Jasper's avatar Koehorst, Jasper
Browse files

checks for hidden files

parent dca949d8
......@@ -91,9 +91,12 @@ public class Search {
for (String path : paths) {
filePathNumber = filePathNumber + 1;
System.out.print(filePathNumber + "\r");
Domain domainTemp = new Domain("file://" + "." + path);
domain.getRDFSimpleCon().getModel().add(domainTemp.getRDFSimpleCon().getModel());
domainTemp.close();
System.err.println(path);
if (!new File(path).isHidden()) {
Domain domainTemp = new Domain("file://" + "." + path);
domain.getRDFSimpleCon().getModel().add(domainTemp.getRDFSimpleCon().getModel());
domainTemp.close();
}
}
Iterable<ResultLine> resultLines = domain.getRDFSimpleCon().runQuery("getAssays.txt", true);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment