diff --git a/galaxy/generator.py b/galaxy/generator.py index 695fdf4..a92a6ae 100755 --- a/galaxy/generator.py +++ b/galaxy/generator.py @@ -1000,7 +1000,7 @@ if param.type is _InFile: # assume it's just text unless restrictions are provided - param_format = "text" + param_format = "txt" if param.restrictions is not None: # join all formats of the file, take mapping from supported_file if available for an entry if type(param.restrictions) is _FileFormat: @@ -1269,7 +1269,7 @@ # and the stdout will be used as output if len(outputs_node) == 0: add_child_node(outputs_node, "data", - OrderedDict([("name", "param_stdout"), ("format", "text"), ("label", "Output from stdout")])) + OrderedDict([("name", "param_stdout"), ("format", "txt"), ("label", "Output from stdout")])) def create_output_node(parent, param, model, supported_file_formats): @@ -1331,7 +1331,7 @@ def create_change_format_node(parent, data_formats, input_ref): # - # + # # change_format_node = add_child_node(parent, "change_format") for data_format in data_formats: