(self)
| 72 | return ret |
| 73 | |
| 74 | def convert_loop_to_global(self) -> None: |
| 75 | if not self.ren.has_local: return |
| 76 | |
| 77 | globalizible_rngs = self._globalizable_rngs() |
| 78 | rng = [x.replace(arg=x.arg[0:-1]+(AxisType.GLOBAL,)) if x in globalizible_rngs else x for x in self.rngs] |
| 79 | |
| 80 | self.ast = self.ast.substitute(dict(zip(self.rngs, rng))) |
| 81 | |
| 82 | def colors(self) -> list[str]: |
| 83 | output_rngs = self._output_rngs() |
no test coverage detected