def execute(self, commands): super(Executor, self).execute(commands) commands_parser.write_commands_to_sh( commands, os.path.join(options_storage.args.output_dir, "run_spades.sh")) commands_parser.write_commands_to_yaml( commands, os.path.join(options_storage.args.output_dir, "run_spades.yaml"))
def dump_commands(self, commands, outputfile): commands_parser.write_commands_to_sh(commands, outputfile)