Skip to content

Commit

Permalink
looking in simTask for trial index
Browse files Browse the repository at this point in the history
  • Loading branch information
danv61 committed Dec 20, 2024
1 parent f225062 commit 1c953ef
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,8 @@ protected String[] getMathExecutableCommand() {
String localMessagingOption = "--vc-print-status";

int trialIndex; // run index
String simJobId = simTask.getSimulationJobID();
try {
trialIndex = Integer.parseInt(simJobId);
trialIndex = simTask.getSimulationJob().getTrialIndex().index;
} catch(NumberFormatException e) {
trialIndex = 0;
}
Expand Down

0 comments on commit 1c953ef

Please sign in to comment.