def test_save_and_remove_tmp(self): """Test methods save, reload and remove for tmp files.""" # Define the ROI object and save it : roi_custom = RoiObj('tmp_roi', vol=vol, labels=label, index=roi_index, hdr=hdr) roi_custom.save(tmpfile=True) # Test reloading roi from name only : RoiObj('tmp_roi') clean_tmp()
def test_remove(self): """Test function remove.""" BrainObj('Custom').remove() clean_tmp()
def test_remove(self): """Test function remove.""" v_obj = VolumeObj('GG-853-GM-0.7mm') v_obj.remove() clean_tmp()