From 983a376f45d8d37e5486ca398c234757eb599a57 Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Wed, 4 Oct 2023 09:10:11 -0400 Subject: [PATCH] bugfix; serial string use --- python/damask/_result.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/damask/_result.py b/python/damask/_result.py index 5f55fd13a..6893af1bc 100644 --- a/python/damask/_result.py +++ b/python/damask/_result.py @@ -817,7 +817,7 @@ class Result: """ - def eigenval(T_sym: DADF5Dataset, eigenvalue: Literal['max, mid, min']) -> DADF5Dataset: + def eigenval(T_sym: DADF5Dataset, eigenvalue: Literal['max', 'mid', 'min']) -> DADF5Dataset: if eigenvalue == 'max': label,p = 'maximum',2 elif eigenvalue == 'mid': @@ -1261,7 +1261,7 @@ class Result: 'label': f"epsilon_{t}^{m}({F['label']})", 'meta': { 'unit': F['meta']['unit'], - 'description': f'Seth-Hill strain tensor of order {m} based on {side} stretch tensor '+\ + 'description': f'Seth-Hill strain tensor of order {m} based on {side} stretch tensor ' f"of {F['label']} ({F['meta']['description']})", 'creator': 'add_strain' } @@ -1291,8 +1291,8 @@ class Result: 'label': f"{t}({F['label']})", 'meta': { 'unit': F['meta']['unit'], - 'description': f"{'left' if t.upper() == 'V' else 'right'} stretch tensor "\ - +f"of {F['label']} ({F['meta']['description']})", # noqa + 'description': f"{'left' if t.upper() == 'V' else 'right'} stretch tensor " + f"of {F['label']} ({F['meta']['description']})", # noqa 'creator': 'add_stretch_tensor' } }