Trigger an error when use_calibration used with mode_file

See the discussion in #512