Commit c164bc2d authored by Simon Eismann's avatar Simon Eismann

fix for replay file paths

parent fa759b33
......@@ -125,7 +125,8 @@ public abstract class DistributionCreator {
String doublesFilename = loadStringParam(paramName);
File doublesFile = new File(doublesFilename);
if (!doublesFile.exists()) {
throw new SimQPNException("PDF file (" + doublesFilename + ") for " + this.getClass().getName() + " does not exist!");
throw new SimQPNException(
"ReplayFile file (" + doublesFilename + ") for " + this.getClass().getName() + " does not exist!");
}
BufferedReader input = null;
......
......@@ -51,8 +51,8 @@ public class ReplayCreator extends DistributionCreator {
@Override
protected void loadParams() throws SimQPNException {
replayValues = this.loadDoublesFromFile("replay_filename");
replayFilename = this.loadStringParam("replay_filename");
replayValues = this.loadDoublesFromFile("pdf_filename");
replayFilename = this.loadStringParam("pdf_filename");
}
@Override
......
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