before updating pyview/mri.py