Skip to content
Snippets Groups Projects
Commit 76b97994 authored by Stéphane Dervaux's avatar Stéphane Dervaux
Browse files

bugfix matmeth load

parent 6522e629
No related branches found
No related tags found
No related merge requests found
......@@ -52,6 +52,7 @@ public class DataTools {
public static Report analyseFiles(Data data) {
Report retour = new Report();
ArrayList<File> matMetFile = new ArrayList<>();
Tools.addProgress(ProgressPO2.OPEN, "Loading data");
ProjectFile project = null;
......@@ -79,7 +80,7 @@ public class DataTools {
project.constructData();
} else {
if(rulesMatMet.startTypeDetection(f)) {
data.addMaterialMethod(f.getAbsolutePath());
matMetFile.add(f);
}
}
} catch (Exception e) {
......@@ -132,6 +133,11 @@ public class DataTools {
}
}
//traitement du/des (pour elisabeth) matMet
for(File f : matMetFile) {
data.addMaterialMethod(f.getAbsolutePath());
}
// if(!lazyLoading) {
// Double[] compt = new Double[1];
// compt[0] = 0.0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment