From 661b9bfbfacda64b6bf00a0d51e321601d9dbcf8 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 18 Oct 2015 13:32:29 +0800 Subject: [PATCH] tools/short_format: increase max string length --- artiq/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/tools.py b/artiq/tools.py index 0e5b24a30..3c2701e90 100644 --- a/artiq/tools.py +++ b/artiq/tools.py @@ -52,7 +52,7 @@ def short_format(v): if t is bool or np.issubdtype(t, int) or np.issubdtype(t, float): return str(v) elif t is str: - return "\"" + elide(v, 15) + "\"" + return "\"" + elide(v, 50) + "\"" else: r = t.__name__ if t is list or t is dict or t is set: