Skip to content
Snippets Groups Projects
Commit 4f483104 authored by rhenry2's avatar rhenry2
Browse files

Backout changeset 992cd7dbff89b8360d0ba1d401113a7fae56563d

parent 65727749
No related branches found
No related tags found
No related merge requests found
...@@ -4,8 +4,6 @@ import java.io.File; ...@@ -4,8 +4,6 @@ import java.io.File;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collection; import java.util.Collection;
import ac.ed.lurg.utils.LogWriter;
public class Timestep { public class Timestep {
...@@ -87,14 +85,9 @@ public class Timestep { ...@@ -87,14 +85,9 @@ public class Timestep {
} }
public String getYearSubDir(String rootDir) { public String getYearSubDir(String rootDir) {
if (ModelConfig.CHANGE_YIELD_DATA_YEAR)
int startOfYield = getYieldYear()-4; return rootDir + File.separator + getYieldYear();
if (ModelConfig.CHANGE_YIELD_DATA_YEAR){
return rootDir + File.separator + startOfYield+"-"+getYieldYear();
}
else else
return rootDir + File.separator + (ModelConfig.BASE_YEAR-4)+"-"+ModelConfig.BASE_YEAR; return rootDir + File.separator + ModelConfig.BASE_YEAR;
//return rootDir + File.separator +ModelConfig.BASE_YEAR;
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment