# HG changeset patch # User devteam # Date 1655137265 0 # Node ID a126ec6ea0e4e11fe3e276d65fe0031d3c14fade # Parent 05696474ee89c437565444a1a116c9460708e153 planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/gops/cluster commit d7b1a60c0aecc46b7f625c3e32f882562b512fd9 diff -r 05696474ee89 -r a126ec6ea0e4 operation_filter.py --- a/operation_filter.py Thu Jun 22 18:40:19 2017 -0400 +++ b/operation_filter.py Mon Jun 13 16:21:05 2022 +0000 @@ -45,22 +45,7 @@ error_map[name] = "A dataset of the appropriate type is required" -# Commented out by INS, 5/30/2007. What is the PURPOSE of this? -def exec_after_process(app, inp_data, out_data, param_dict, tool=None, stdout=None, stderr=None): - """Verify the output data after each run""" - for data in out_data.values(): - try: - if stderr and len( stderr ) > 0: - raise Exception( stderr ) - except Exception: - data.blurb = JOB_ERROR - data.state = JOB_ERROR - - def exec_after_merge(app, inp_data, out_data, param_dict, tool=None, stdout=None, stderr=None): - exec_after_process( - app, inp_data, out_data, param_dict, tool=tool, stdout=stdout, stderr=stderr) - # strip strand column if clusters were merged for data in out_data.values(): if param_dict['returntype'] is True: @@ -72,9 +57,6 @@ def exec_after_cluster(app, inp_data, out_data, param_dict, tool=None, stdout=None, stderr=None): - exec_after_process( - app, inp_data, out_data, param_dict, tool=tool, stdout=stdout, stderr=stderr) - # strip strand column if clusters were merged if param_dict["returntype"] == '1': for data in out_data.values():