AllenInstitute / AllenInstitute/AllenSDK

Exception has not enough arguments

Open
#233 0 comments 0 reactions 1 assignee View on GitHub

@nicain is already working on this.

Since Aug 23, 2018.

bug good first issue task
Dominant language
Jupyter Notebook
Stars
398
Forks
163
PR merge metrics
No merged PRs in 30d

Description

Issue identified here: https://github.com/AllenInstitute/AllenSDK/pull/215/files#r212392256

In https://github.com/AllenInstitute/AllenSDK/blob/86166fb31c9eb1b3f807a5ea95eadd56d8d974ae/allensdk/api/queries/brain_observatory_api.py#L371

two arguments are unpacked (%d handles an integer, and %s handles a string), however the tuple that will be unpacked has length 1. This will raise an exception, but obfuscate the intended exception!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.