parameters: (calibration_id: local_types.CalibrationID)
docstring: Given a labware's hash, delete the file and remove it from the index file.
  
      :param calibration_id: labware hash
docstring_summary: Given a labware's hash, delete the file and remove it from the index file.
docstring_tokens: Given a labware s hash delete the file and remove it from the index file .
function: def delete_offset_file(calibration_id: local_types.CalibrationID):
      """
      Given a labware's hash, delete the file and remove it from the index file.
  
      :param calibration_id: labware hash
      """
      offset_path = config.get_opentrons_path("labware_calibration_offsets_dir_v2")
      offset = offset_path / f"{calibration_id}.json"
      try:
          _remove_offset_from_index(calibration_id)
          offset.unlink()
      except FileNotFoundError:
          pass
function_tokens: def delete_offset_file ( calibration_id : local_types . CalibrationID ) : offset_path = config . get_opentrons_path ( "labware_calibration_offsets_dir_v2" ) offset = offset_path / f"{calibration_id}.json" try : _remove_offset_from_index ( calibration_id ) offset . unlink ( ) except FileNotFoundError : pass