DiamondLightSource / SuRVoS

(Su)per (R)egion (Vo)lume (S)egmentaton workbench
Apache License 2.0
25 stars 5 forks source link

Crash when exporting label splitter stats in Python 3 version of SuRVoS #75

Closed OllyK closed 4 years ago

OllyK commented 4 years ago

When exporting stats to a CSV from the label splitter tab, SuRVoS crashes with the following error:

Traceback (most recent call last):
 File "/lib/python3.6/site-packages/survos/widgets/label_partitioning.py", line 401, in on_export_stats
   if not full_path.endswith('.csv'):
AttributeError: 'tuple' object has no attribute 'endswith'
Aborted