From fea16327acee0ae4ab95df3ca5622cc286041be0 Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Mon, 2 Sep 2019 23:42:34 -0700 Subject: [PATCH] now properly escaped --- python/damask/colormaps.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/damask/colormaps.py b/python/damask/colormaps.py index e6923e2f2..832171cd3 100644 --- a/python/damask/colormaps.py +++ b/python/damask/colormaps.py @@ -553,7 +553,7 @@ class Colormap(): elif format == 'gom': colormap = ['1 1 ' + str(name) + ' 9 ' + str(name) - + ' 0 1 0 3 0 0 -1 9 {} 0 0 0 255 255 255 0 0 255 '.format('\\') + + ' 0 1 0 3 0 0 -1 9 \\ 0 0 0 255 255 255 0 0 255 ' + '30 NO_UNIT 1 1 64 64 64 255 1 0 0 0 0 0 0 3 0 ' + str(len(colors)) + ' '.join([' 0 %s 255 1'%(' '.join([str(int(x*255.0)) for x in color])) for color in reversed(colors)])]