Commit 99d7f07e authored by patrick.lambert's avatar patrick.lambert
Browse files

avoid to retrun the path

parent 3683f8d2
......@@ -563,7 +563,10 @@ public class RIOBasinNetworkWithContinent extends RIOBasinNetwork {
public String getTemperatureCatchmentFile() {
return (temperatureRiverFile.split("_")[0]);
String[] fields = temperatureRiverFile.split("/");
String prefix = fields[fields.length - 1].split("_")[0];
return (prefix);
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