message: erase config.json at beginning of deck calibration
diff: # pylama:ignore=C901
  -import asyncio
  -import urwid
  -from numpy.linalg import inv
  -from numpy import dot, array, insert
  -from opentrons import robot, instruments
  -from opentrons.robot import robot_configs
  -from opentrons.util.calibration_functions import probe_instrument
  -from opentrons.cli.solve import solve
  -
  -
  -# TODO (andy - 2017/12/05) Run deck calibration (XYZ) seperately from Probe
  -# After calibrating the Z axis and 3 points on deck, quit and restart
  -# this CLI tool before running tip-probe ('p')
  -# Without restarting, pipette collides with probe
  +# erase previous calibration file before opentrons.robot instantiates
  +import os
  +from opentrons.util import environment
  +config_file_path = environment.get_path('OT_CONFIG_FILE')
  +if os.path.exists(config_file_path):
  + os.remove(config_file_path)
  +
  +import asyncio # NOQA
  +import urwid # NOQA
  +from numpy.linalg import inv # NOQA
  +from numpy import dot, array, insert # NOQA
  +from opentrons import robot, instruments # NOQA
  +from opentrons.robot import robot_configs # NOQA
  +from opentrons.util.calibration_functions import probe_instrument # NOQA
  +from opentrons.cli.solve import solve # NOQA
  # Distance increments for jog
  