intermine / intermine/intermine-ws-python-docs

Tutorial 4 final steps cause an error

未关闭
#24 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Jupyter Notebook
星标
14
派生
19
PR 合并指标
30 天内没有已合并 PR

描述

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](https://mybinder.org/v2/gh/yochannah/intermine-ws-python-docs/tutorial-4?filepath=04-tutorial.ipynb)

Error:
```python
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")
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。