mirror of
https://github.com/Alex38Lyon/Synthese-PSM_LARRA.git
synced 2026-06-01 13:59:13 +00:00
pyCreateTh
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -249,7 +249,7 @@ def read_config(config_file):
|
||||
global_data.stationNamesInTh2 = bool(config['Application_Data']['station_name_in_th2_files'])
|
||||
|
||||
if 'Application_Data' in config and 'kSmooth' in config['Application_Data']:
|
||||
global_data.therionPath = float(config['Application_Data']['kSmooth'])
|
||||
global_data.kSmooth = float(config['Application_Data']['kSmooth'])
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -22,6 +22,8 @@ def compile_template(template, template_args, totReadMeError = "", **kwargs ):
|
||||
try:
|
||||
tmpdir = tempfile.mkdtemp()
|
||||
config = template.format(**template_args, tmpdir=tmpdir.replace("\\", "/"))
|
||||
|
||||
|
||||
|
||||
log.debug(f"{config}\n")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user