Skip to content

Commit

Permalink
the filter != is supported for form fields like bandgap, natoms, etc
Browse files Browse the repository at this point in the history
  • Loading branch information
tachyontraveler committed Sep 17, 2019
1 parent c13cc31 commit d8126fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qmpy/rester/qmpy_rester.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_oqmd_phases(self, verbose=True, **kwargs):
if k in kwargs_list:
url_args.append('%s=%s' %(k, kwargs[k]))
elif k in filter_list:
if '>' in kwargs[k] or '<' in kwargs[k]:
if '>' in kwargs[k] or '<' in kwargs[k] or '!' in kwargs[k]:
filter_args.append('%s%s' %(k, kwargs[k]))
else:
filter_args.append('%s=%s' %(k, kwargs[k]))
Expand Down

0 comments on commit d8126fd

Please sign in to comment.