Skip to content

generateCustomLinkXMLFromReference script failing to find base and extension yaml files #35

@hknahal

Description

@hknahal

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))
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions