Skip to content

Commit

Permalink
support string ids by removing cast to int
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Rometsch committed Oct 20, 2023
1 parent 1b182ff commit e737bcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/disgrid/fluid.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def get(self, geometry, name, num_output=None, t=None, *args, **kwargs):
"get() missing 1 required optional argument:",
" either 'num_output' or 't' for geometry={}".format(
", ".join(supported_geometries[:-1])))
return loader(int(num_output), *args, **kwargs)
return loader(num_output, *args, **kwargs)

def _get_loader(self, geometry, name):
if geometry in supported_geometries:
Expand Down

0 comments on commit e737bcd

Please sign in to comment.