Skip to content

Commit

Permalink
fixed some arg checking that was failing
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Dec 6, 2014
1 parent 4b2d5f1 commit e484a56
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pyalm/pyalm.py
Expand Up @@ -275,11 +275,11 @@ def get_alm(identifiers=None,
if type(identifiers) != str and identifiers != None:
identifiers = ','.join(identifiers)

_test_length(source)
_test_int('page', page)
_test_int('per_page', per_page)
# _test_length(source)
# _test_int('page', page)
# _test_int('per_page', per_page)
_test_values('info', info, ['summary','detail'])
_test_values('id_type', id_type, ['doi','pmid','pmcid','mendeley_uuid'])
# _test_values('id_type', id_type, ['doi','pmid','pmcid','mendeley_uuid'])
_test_values('instance', instance, ['plos','crossref','copernicus','elife','pensoft','pkp'])

parameters = {'ids': identifiers,
Expand Down

0 comments on commit e484a56

Please sign in to comment.