Skip to content
This repository was archived by the owner on Aug 16, 2022. It is now read-only.

Commit ef67ae2

Browse files
committed
Display dash in GUI
1 parent 7f95f3f commit ef67ae2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tilde/berlinium/categs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def wrap_cell(entity, json_obj, mapping, table_view=False):
2020
#else:
2121

2222
if entity['multiple']:
23-
out = ", ".join( map(lambda x: num2name(x, entity, mapping), json_obj.get(entity['source'], [])) )
23+
out = ", ".join( map(lambda x: num2name(x, entity, mapping), json_obj.get(entity['source'], ['—'])) )
2424

2525
elif entity['is_chem_formula']:
2626
out = html_formula(json_obj[ entity['source'] ]) if entity['source'] in json_obj else '—'

0 commit comments

Comments
 (0)