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

Method post_sample

modules/scripts.py:914–920  ·  view source on GitHub ↗
(self, p, ps: PostSampleArgs)

Source from the content-addressed store, hash-verified

912 def post_sample(self, p, ps: PostSampleArgs):
913 for script in self.ordered_scripts('post_sample'):
914 try:
915 script_args = p.script_args[script.args_from:script.args_to]
916 script.post_sample(p, ps, *script_args)
917 except Exception:
918 errors.report(f"Error running post_sample: {script.filename}", exc_info=True)
919
920 def on_mask_blend(self, p, mba: MaskBlendArgs):
921 for script in self.ordered_scripts('on_mask_blend'):
922 try:
923 script_args = p.script_args[script.args_from:script.args_to]

Callers

nothing calls this directly

Calls 2

ordered_scriptsMethod · 0.95
post_sampleMethod · 0.45

Tested by

no test coverage detected