Commit cd126bdc authored by Marian Dovgialo's avatar Marian Dovgialo

#46180 matching pursuit creates file in the current working directory, which breaks svarog in dmg

parent 744ad93c
......@@ -2,6 +2,7 @@
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import org.signalml.app.model.signal.SignalExportDescriptor;
import org.signalml.domain.montage.Montage;
......@@ -27,8 +28,8 @@
/**
* Files storing the temporary results of the filtering.
*/
private File inputFile = new File("export2.bin.tmp");
private File outputFile = new File("export1.bin.tmp");
private File inputFile = File.createTempFile("svarog_filter_", "export2.bin");
private File outputFile = File.createTempFile("svarog_filter_", "export1.bin");
private RawSignalWriter rawSignalWriter = new RawSignalWriter();
/**
......
Markdown is supported
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