From 5da1aa49bc1778c8f38e6f555d9f1891fc977198 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Wed, 3 Jun 2020 15:17:00 +0200 Subject: [PATCH] string should be a Path object --- python/damask/solver/_marc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/damask/solver/_marc.py b/python/damask/solver/_marc.py index 8bee9efc0..ce32b17e5 100644 --- a/python/damask/solver/_marc.py +++ b/python/damask/solver/_marc.py @@ -38,7 +38,7 @@ class Marc: def tools_path(self): path_MSC = Environment().options['MSC_ROOT'] - path_tools = '{}/marc{}/tools'.format(path_MSC,self.version) + path_tools = Path('{}/marc{}/tools'.format(path_MSC,self.version)) return path_tools if path_tools.is_file() else None