non-dot versions are handled as integers
This commit is contained in:
parent
56e9dc11ef
commit
4406493def
|
@ -8,6 +8,8 @@ from pathlib import Path
|
||||||
import damask
|
import damask
|
||||||
|
|
||||||
marc_version = float(damask.environment.options['MARC_VERSION'])
|
marc_version = float(damask.environment.options['MARC_VERSION'])
|
||||||
|
if int(marc_version) == marc_version:
|
||||||
|
marc_version = int(marc_version)
|
||||||
msc_root = Path(damask.environment.options['MSC_ROOT'])
|
msc_root = Path(damask.environment.options['MSC_ROOT'])
|
||||||
damask_root = damask.environment.root_dir
|
damask_root = damask.environment.root_dir
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue