added set_compartment to python, but still doesnt work
added set_compartment to python interface