From 5292a8de82f678962d1a1993bbbcd0cde0a5b1c1 Mon Sep 17 00:00:00 2001 From: Simon Renblad Date: Mon, 10 Jul 2023 10:48:06 +0800 Subject: [PATCH] browser: add metadata param to short_format --- artiq/browser/datasets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/browser/datasets.py b/artiq/browser/datasets.py index 2e4ed3884..cbeb6afec 100644 --- a/artiq/browser/datasets.py +++ b/artiq/browser/datasets.py @@ -20,7 +20,7 @@ class Model(DictSyncTreeSepModel): DictSyncTreeSepModel.__init__(self, ".", ["Dataset", "Value"], init) def convert(self, k, v, column): - return short_format(v[1]) + return short_format(v[1], v[2]) class DatasetCtl: