Skip to content
Snippets Groups Projects
Commit 4d8251b8 authored by Bruhwyler Roxane's avatar Bruhwyler Roxane
Browse files

[fix] The call of JavaStics doesn't work on Windows

It has been fixed by changing the calling of JavaStics as recommended in the documentation.html file from the doc folder you can have by downloading a version JavaStics on the inrae website.
parent f86e9b4d
No related branches found
No related tags found
1 merge request!37Resolve "[hotfix] The call of JavaStics doesn't work on Windows"
......@@ -53,8 +53,8 @@ def run_independant_usms(config, WD, daily_irr, scenario_P):
subprocess.call(["java", "-jar","JavaSticsCmd.exe",
"--run", "param_files", WD_file])
else :
subprocess.call(["java", "-jar","JavaSticsCmd.exe",
"--run", "param_files", WD_file], shell=True)
subprocess.call(["JavaSticsCmd.exe", "--run", "param_files",
WD_file], shell=True)
daily_results_stics = pd.read_csv('param_files/mod_s'+WD_file+'.sti', sep=';', decimal='.')
......
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