some issues running test-suite-upload-from-sciunit.ipynb
@NeZanyat is already working on this.
Since Nov 6, 2018.
Assessment
This issue has not been assessed yet.
Description
I encountered the following issues running test-suite-upload-from-sciunit.ipynb.
(I was using dev branch for sciunit and I saw it has substantial changes compared to master, so It would be a good idea to revisit this example ones the dev branch PR is merged)
in [22] -> models[1].set_attrs({'izhikevich2007Cell':{'a':'0.04 per_ms'}})
File "test_suit.py", line 19, in <module>
models[1].set_attrs({'izhikevich2007Cell':{'a':'0.04 per_ms'}})
TypeError: set_attrs() takes 1 positional argument but 2 were given
workaround : remove attr
in [34] -> test2 = AnotherTest(observation={'mean':3, 'std':8, ...)
NameError: name 'AnotherTest' is not defined
So, replace AnotherTest with TestFromJupyterNotebook()
in [39] -> responses = client_instance.upload_suite_score(suite, score_matrix)
ERROR:scidash_api.mapper:CLIENT -> INVALID DATA: {'sort_key': ['required field']}
Workaround: adding keys manually.
in [39] -> responses = client_instance.upload_suite_score(suite, score_matrix)
{'errors': {'model_instance': {'run_params': ['Not a valid string.']}, 'score_class': {'url': ['Enter a valid URL.']}}, 'success': False}
- Dominant language
- Jupyter Notebook
- Stars
- 2
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MetaCell/scidash-api
-
Duplicate key errorOpen
Difficulty 4/5 3-5 days Newbie friendliness 25/100
MetaCell/scidash-api#46 · 5 comments ·