Running the following command as per the PCGL Data Admin Guide "Step a. Generate custom linkML schema" instructions results in an error:
python scripts/generateCustomLinkmlFromReference.py -c custom/example/example.yaml
Error message:
Error cannot find the following file : /base/base.yaml
It appears to be related to the lack of specifying the working directory (which is optional). But when the working directory is specified, the same error message appears when trying to access the extension yaml file (
|
print("Error cannot find the following file : %s/%s.yaml" % (working_directory,class_key)) |
)