Skip to content

Commit

Permalink
fix output when saving subtracted results
Browse files Browse the repository at this point in the history
  • Loading branch information
dernasherbrezon committed Jul 14, 2019
1 parent b0deaf5 commit e884f66
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/ru/r2cloud/rtlspectrum/SubtractFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import java.io.File;
import java.io.FileReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

import javafx.scene.chart.XYChart;
Expand Down Expand Up @@ -56,6 +57,7 @@ protected List<List<BinData>> call() throws Exception {
BinData subtractedBin = new BinData(curBin);
subtractedBin.setDbmAverage(value);
subtractedBin.setParsed(parsed);
subtractedBin.setDbm(Collections.singletonList(String.valueOf(value)));
resultGraph.add(subtractedBin);
}
result.add(resultGraph);
Expand Down

0 comments on commit e884f66

Please sign in to comment.