def render(self, path: Union[(pathlib.Path, str)]):
    self.activate_render_passes()
    path = pathlib.Path(path)
    bpy.context.scene.render.filepath = str(((path / 'images') / 'frame_'))
    self.set_up_exr_output(((path / 'exr') / 'frame_'))
    bpy.ops.render.render(animation=True, write_still=True)
def render(self, path: Union[(pathlib.Path, str)]):
    self.activate_render_passes()
    path = pathlib.Path(path)
    bpy.context.scene.render.filepath = str(((path / 'images') / 'frame_'))
    self.set_up_exr_output(((path / 'exr') / 'frame_'))
    bpy.ops.render.render(animation=True, write_still=True)