Skip to content

Tutorial 4 final steps cause an error #24

Description

@yochannah

This might actually be an issue with the python package, but I'll leave that up to you to decide and open in the python client repo if needed.

The issue is in the final couple of lines of tutorial 4 - I thought I'd add a printline statement to see the output for these two lines...

query.add_path_description("ontologyAnnotations.ontologyTerm","Ontology Term")
query.add_path_description("publications","Pub.")

But when I try to print we get a badly formed query error.

You can try it out yourself in this binder instance

Error:

WebserviceError: ('There was a problem with our request', 400, 'Bad Request', u"Query does not pass XML validation. cvc-complex-type.3.2.2: Attribute 'path' is not allowed to appear in element 'pathDescription'.\ncvc-complex-type.4: Attribute 'pathString' must appear on element 'pathDescription'.\ncvc-complex-type.3.2.2: Attribute 'path' is not allowed to appear in element 'pathDescription'.\ncvc-complex-type.4: Attribute 'pathString' must appear on element 'pathDescription'.\n")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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