PhysiCell Studio
Launch PhysiCell Studio for a simulation run in PhysiCellModelManager.jl.
PhysiCellModelManager.runStudio — Method
runStudio(simulation_id::Int; python_path::Union{Missing,String}=simulator().path_to_python, studio_path::Union{Missing,String}=simulator().path_to_studio)Launch PhysiCell Studio for a given simulation.
Creates temporary config and rules files to avoid overwriting the original files in the output folder. The intent of this function is to allow users to visualize the results of a simulation with Studio, rather than to modify the simulation itself.
The path to the python executable and the Studio folder must be set. When calling using PhysiCellModelManager, shell environment variables PCMM_PYTHON_PATH and PCMM_STUDIO_PATH will be used to set the path to the python executable and the Studio folder, respectively. Note: these should match how you would run PhysiCell Studio from the command line, e.g.: export PCMM_PYTHON_PATH=python.
If the paths are not set in the environment, they can be passed as the keyword arguments python_path and studio_path to this function. In this case, the paths will be set as global variables for the duration of the Julia session and do not need to be passed again.