diff --git a/vcell-core/src/main/java/org/vcell/solver/langevin/LangevinSolver.java b/vcell-core/src/main/java/org/vcell/solver/langevin/LangevinSolver.java index da8f6597ee..e947380023 100644 --- a/vcell-core/src/main/java/org/vcell/solver/langevin/LangevinSolver.java +++ b/vcell-core/src/main/java/org/vcell/solver/langevin/LangevinSolver.java @@ -197,12 +197,7 @@ protected String[] getMathExecutableCommand() { String messagingConfigOption = "--vc-send-status-config=" + getMessagingConfigFilename(); String localMessagingOption = "--vc-print-status"; - int trialIndex; // run index - try { - trialIndex = simTask.getSimulationJob().getTrialIndex().index; - } catch(NumberFormatException e) { - trialIndex = 0; - } + int trialIndex = simTask.getSimulationJob().getTrialIndex().index; // run index ArrayList cmds = new ArrayList<>(); cmds.add(executableName); // executable