Skip to content

Commit

Permalink
Merge pull request #6 from Multiscale-Genomics/hotfix-mm-jsonapp
Browse files Browse the repository at this point in the history
Fixed variable typo in assert statement
  • Loading branch information
marcopasi committed Mar 19, 2018
2 parents 2beaaa8 + 22696f3 commit bae5ed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/jsonapp.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def _newresult(role, path, metadata):
len(metadata) == len(path)) or \
isinstance(metadata, Metadata), \
"""Wrong number of metadata entries for role {role}:
either 1 or {np}, not {nm}""".format(role=role, np=len(path), nm=len(metdata))
either 1 or {np}, not {nm}""".format(role=role, np=len(path), nm=len(metadata))

if not isinstance(metadata, (list, tuple)):
metadata = [metadata] * len(path)
Expand Down

0 comments on commit bae5ed1

Please sign in to comment.