MCPcopy
hub / github.com/Lightricks/ComfyUI-LTXVideo / _get_per_tile_value

Method _get_per_tile_value

looping_sampler.py:576–578  ·  view source on GitHub ↗

Get a value from a per-tile configuration list, using the last value if the list is shorter.

(self, value_list, tile_index)

Source from the content-addressed store, hash-verified

574 )
575
576 def _get_per_tile_value(self, value_list, tile_index):
577 """Get a value from a per-tile configuration list, using the last value if the list is shorter."""
578 return value_list[min(tile_index, len(value_list) - 1)]
579
580 def _parse_comma_separated_string(
581 self, config_string, default_value, converter_func, optional_total_size=None

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected