Commit 3c4ca5bc authored by Nicola Gatto's avatar Nicola Gatto

Set data path to default value if not given

parent aa7af2ba
...@@ -370,7 +370,9 @@ public class EMADLGenerator { ...@@ -370,7 +370,9 @@ public class EMADLGenerator {
DataPathConfigParser newParserConfig = new DataPathConfigParser(getModelsPath() + "data_paths.txt"); DataPathConfigParser newParserConfig = new DataPathConfigParser(getModelsPath() + "data_paths.txt");
dPath = newParserConfig.getDataPath(EMAComponentSymbol.getFullName()); dPath = newParserConfig.getDataPath(EMAComponentSymbol.getFullName());
} else { } else {
Log.warn("No data path definition found in " + dataPathDefinition + " found: No generation of data loader"); Log.warn("No data path definition found in " + dataPathDefinition + " found: "
+ "Set data path to default ./data path");
dPath = "data";
} }
/*String dPath = DataPathConfigParser.getDataPath(getModelsPath() + "data_paths.txt", componentSymbol.getFullName());*/ /*String dPath = DataPathConfigParser.getDataPath(getModelsPath() + "data_paths.txt", componentSymbol.getFullName());*/
......
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