Codebase list ctdconverter / 833809d
Merge pull request #23 from mwalzer/feature/issue20 [fix] suggestion to fix #20 chahuistle authored 6 years ago GitHub committed 6 years ago
1 changed file(s) with 4 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
12751275 # set the first data output node to the first file format
12761276
12771277 # check if there are formats that have not been registered yet...
1278 output = ""
1278 output = list()
12791279 for format_name in param.restrictions.formats:
12801280 if not format_name in supported_file_formats.keys():
1281 output += " " + str(format_name)
1281 output.append(str(format_name))
12821282
12831283 # warn only if there's about to complain
12841284 if output:
1285 warning("Parameter " + param.name + " has the following unsupported format(s):" + output, 1)
1285 warning("Parameter " + param.name + " has the following unsupported format(s):" + ','.join(output), 1)
1286 data_format = ','.join(output)
12861287
12871288 formats = get_supported_file_types(param.restrictions.formats, supported_file_formats)
12881289 try: