Slicer specific code for BRAINS