Codebase list ctdconverter / 7d1d48c
Merge pull request #27 from blankclemens/blankclemens-patch-1 Fix format tag for text files chahuistle authored 6 years ago GitHub committed 6 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
999999
10001000 if param.type is _InFile:
10011001 # assume it's just text unless restrictions are provided
1002 param_format = "text"
1002 param_format = "txt"
10031003 if param.restrictions is not None:
10041004 # join all formats of the file, take mapping from supported_file if available for an entry
10051005 if type(param.restrictions) is _FileFormat:
12681268 # and the stdout will be used as output
12691269 if len(outputs_node) == 0:
12701270 add_child_node(outputs_node, "data",
1271 OrderedDict([("name", "param_stdout"), ("format", "text"), ("label", "Output from stdout")]))
1271 OrderedDict([("name", "param_stdout"), ("format", "txt"), ("label", "Output from stdout")]))
12721272
12731273
12741274 def create_output_node(parent, param, model, supported_file_formats):
13301330
13311331 def create_change_format_node(parent, data_formats, input_ref):
13321332 # <change_format>
1333 # <when input="secondary_structure" value="true" format="text"/>
1333 # <when input="secondary_structure" value="true" format="txt"/>
13341334 # </change_format>
13351335 change_format_node = add_child_node(parent, "change_format")
13361336 for data_format in data_formats: