Add default delimiter to transposed CSV data reader.
@@ -119,8 +119,8 @@ def read_spectral_data_from_csv_file(path, **kwargs):
transpose = settings.get('transpose')
if transpose:
- delimiter = settings.get('delimiter')
- if delimiter is not None:
+ delimiter = settings.get('delimiter', ',')
+ if settings.get('delimiter') is not None:
del settings['delimiter']
with open(path, 'r') as csv_file:
