Skip to content

Commit

Permalink
Bug fixed. Having simtk.unit is not required.
Browse files Browse the repository at this point in the history
  • Loading branch information
dprada committed Jul 6, 2021
1 parent c39ad83 commit 408b9e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyunitwizard/configure/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@

libraries = ['pint', 'simtk.unit']
parsers = ['pint', 'simtk.unit']
found = { ii: find_spec(ii) is not None for ii in libraries}
_aux_dict_modules = {'pint':'pint', 'simtk.unit':'simtk'}
found = { ii: find_spec(_aux_dict_modules[ii]) is not None for ii in libraries}

def reset():

Expand Down

0 comments on commit 408b9e1

Please sign in to comment.