log10 ValueError for zeros in shell display
NEXUS_WRITER_SESSION [4]: last_error[-2]
Out [4]: 24/11/2020 11:39:09 Traceback (most recent call last):
File "src/gevent/greenlet.py", line 854, in gevent._gevent_cgreenlet.Greenlet.run
File "/home/denolf/dev/bliss/bliss/shell/data/display.py", line 886, in _progress_bar
line = self.build_data_output(scan_info, values)
File "/home/denolf/dev/bliss/bliss/shell/data/display.py", line 388, in build_data_output
return self._build_ct_output(values, norm_values)
File "/home/denolf/dev/bliss/bliss/shell/data/display.py", line 430, in _build_ct_output
g = int(log10(v))
ValueError: math domain error
>>> log10(0.)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: math domain error