MCPcopy Create free account
hub / github.com/DenOfEquity/ersatzForge / postprocess

Method postprocess

modules/scripts.py:890–896  ·  view source on GitHub ↗
(self, p, processed)

Source from the content-addressed store, hash-verified

888 def postprocess(self, p, processed):
889 for script in self.ordered_scripts('postprocess'):
890 try:
891 script_args = p.script_args[script.args_from:script.args_to]
892 script.postprocess(p, processed, *script_args)
893 except Exception:
894 errors.report(f"Error running postprocess: {script.filename}", exc_info=True)
895
896 def postprocess_batch(self, p, images, **kwargs):
897 for script in self.ordered_scripts('postprocess_batch'):
898 try:
899 script_args = p.script_args[script.args_from:script.args_to]

Callers

nothing calls this directly

Calls 2

ordered_scriptsMethod · 0.95
postprocessMethod · 0.45

Tested by

no test coverage detected