From f860b26664777f8ba22d40913be17fdbd077df63 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Wed, 28 Apr 2021 08:53:40 +0200 Subject: [PATCH] correct type hints --- installation/mods_MarcMentat/apply_DAMASK_modifications.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installation/mods_MarcMentat/apply_DAMASK_modifications.py b/installation/mods_MarcMentat/apply_DAMASK_modifications.py index 5b6b7a2ce..4c6568466 100755 --- a/installation/mods_MarcMentat/apply_DAMASK_modifications.py +++ b/installation/mods_MarcMentat/apply_DAMASK_modifications.py @@ -17,10 +17,10 @@ parser.add_argument('--editor', dest='editor', metavar='string', default='vi', parser.add_argument('--msc-root', dest='msc_root', metavar='string', default=damask.solver._marc._msc_root, help='MSC.Marc/Mentat root directory') -parser.add_argument('--msc-version', dest='msc_version', metavar='string', +parser.add_argument('--msc-version', dest='msc_version', type=float, metavar='float', default=damask.solver._marc._msc_version, help='MSC.Marc/Mentat version') -parser.add_argument('--damask-root', dest='damask_root', type=float, metavar = 'float', +parser.add_argument('--damask-root', dest='damask_root', metavar = 'string', default=damask.solver._marc._damask_root, help='DAMASK root directory')