gdstk.oas_validate

gdstk.oas_validate(infile) tuple

Check the validation signature of an OASIS file, if any.

Parameters:

infile (str or pathlib.Path) – Name of the input file.

Returns:

Validation result (True/False) and the calculated signature. If the file does not have a signature, returns (None, 0)