Codebase list ctdconverter / f228db6
[fix] suggestion to fix #20 walzer 6 years ago
1 changed file(s) with 4 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
12811281 # set the first data output node to the first file format
12821282
12831283 # check if there are formats that have not been registered yet...
1284 output = ""
1284 output = list()
12851285 for format_name in param.restrictions.formats:
12861286 if not format_name in supported_file_formats.keys():
1287 output += " " + str(format_name)
1287 output.append(str(format_name))
12881288
12891289 # warn only if there's about to complain
12901290 if output:
1291 warning("Parameter " + param.name + " has the following unsupported format(s):" + output, 1)
1291 warning("Parameter " + param.name + " has the following unsupported format(s):" + ','.join(output), 1)
1292 data_format = ','.join(output)
12921293
12931294 formats = get_supported_file_types(param.restrictions.formats, supported_file_formats)
12941295 try: