forked from M-Labs/artiq
datasets: add metadata format param
This commit is contained in:
parent
e710d4badd
commit
376f36c965
|
@ -100,7 +100,7 @@ class Model(DictSyncTreeSepModel):
|
||||||
if column == 1:
|
if column == 1:
|
||||||
return "Y" if v[0] else "N"
|
return "Y" if v[0] else "N"
|
||||||
elif column == 2:
|
elif column == 2:
|
||||||
return short_format(v[1])
|
return short_format(v[1], v[2])
|
||||||
else:
|
else:
|
||||||
raise ValueError
|
raise ValueError
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue