pyanno4rt.input_check.check_functions._check_path

Path checking.

Overview

Function

check_path(label, data)

Check if a file or directory path is invalid.

Functions

pyanno4rt.input_check.check_functions._check_path.check_path(label, data)[source]

Check if a file or directory path is invalid.

Parameters:
  • label (str) – Label for the item to be checked.

  • data (str) – Path to the file or directory.

Raises:

IOError – If the path references an invalid file or directory.