open_context# pharmpy.tools.open_context(name, ref=None)[source]# Open a context from a tool run Parameters: name (str) – Name of the context ref (str or Path) – Parent path of the context Examples >>> from pharmpy.tools import open_context >>> ctx = open_context("myrun")