Skip to content

Commit 6f79c76

Browse files
Debugging filtering of PCs
1 parent ab2c1ac commit 6f79c76

7 files changed

Lines changed: 18 additions & 7 deletions

File tree

Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
31038250328b923270d98a2e7adfc0aa
1+
46b123c7ee6f6409305c0754ce19c08f
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9d5ea0427cb43e48d2aa3f387d637b050974af12
1+
7160f326400ac5ea6c24058b26e6ed95b7e7a016

local-maven-repo/net/ssehub/kernel_haven/fe_analysis/maven-metadata.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77
<versions>
88
<version>1.0.0</version>
99
</versions>
10-
<lastUpdated>20210802161958</lastUpdated>
10+
<lastUpdated>20210802165032</lastUpdated>
1111
</versioning>
1212
</metadata>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
67d00c85b2a3d29d118243af5751c284
1+
61e947bcd99e60e9f1e98eeee3ea7906
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
102d27887b19716833ff8d6e4a83b9fae01534e9
1+
f909d54877b37a8bd875ff49a5b919474f5d584f

src/main/java/de/variantsync/subjects/extraction/AnalysisTask.java

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,15 @@ private static void moveResultsToDirectory(File workDir, Path pathToTargetDir, R
167167
hasError = hasError | moveDimacsModel(outputDir, data_collection_dir);
168168

169169
LOGGER.logStatus("Moving FILTERED file to common output directory.");
170-
moveFilterCount(outputDir, data_collection_dir);
171-
170+
if(!moveFilterCount(outputDir, data_collection_dir)) {
171+
LOGGER.logWarning("Moving FILTERED failed.");
172+
}
173+
174+
LOGGER.logStatus("Moving VARIABLES file to common output directory.");
175+
if(!moveVariablesFile(outputDir, data_collection_dir)) {
176+
LOGGER.logWarning("Moving VARIABLES failed.");
177+
}
178+
172179
// Move the cache of the extractors to the collected output directory
173180
LOGGER.logStatus("Moving extractor cache to common output directory.");
174181
hasError = hasError | moveFeatureModel(workDir, data_collection_dir);
@@ -287,6 +294,10 @@ private static boolean moveFilterCount(File outputDir, File targetDir) {
287294
return moveOutputFile(outputDir, targetDir, "FILTERED.txt", "FILTERED.txt");
288295
}
289296

297+
private static boolean moveVariablesFile(File outputDir, File targetDir) {
298+
return moveOutputFile(outputDir, targetDir, "VARIABLES.txt", "VARIABLES.txt");
299+
}
300+
290301
private void createBlocker(File dir) {
291302
LOGGER.logInfo("Blocking directory " + dir);
292303
File blocker = new File(dir, "BLOCKER.txt");

0 commit comments

Comments
 (0)