Commit 62b6fe27 authored by patrick.lambert's avatar patrick.lambert
Browse files

new gestion of temperatureFile name

use to define the simualtion_id: BEED TO BE IMPROVED
parent a09f8b44
......@@ -1042,7 +1042,7 @@ public class DiadromousFishGroup extends AquaNismsGroup<DiadromousFish, RIOBasin
String id = "_";
id = id.concat(Integer.toString(getPilot().getParameters().getRngStatusIndex()));
String temperatureFile = ((RIOBasinNetwork) getPilot().getAquaticWorld().getEnvironment()).getTemperatureCatchmentFile();
id = id.concat("-").concat(temperatureFile.substring(temperatureFile.length() - 9, temperatureFile.length() - 4));
id = id.concat("-").concat(temperatureFile);
if (parameterSetLine > 0) {
id = id.concat("-").concat(Integer.toString(parameterSetLine));
}
......
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