Skip to content

Commit

Permalink
bugfix numpy dtypes deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
oliche committed Jan 16, 2024
1 parent 36f2f3b commit 40243a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion alyx/alyx/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = __version__ = '1.18.0'
VERSION = __version__ = '1.18.1'
2 changes: 1 addition & 1 deletion alyx/jobs/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def get_context_data(self, **kwargs):
context['labs'] = Lab.objects.annotate(
count_waiting=cw, last_session=ls, last_job=lj).order_by('name')
space = np.array(context['labs'].values_list(
'json__raid_available', flat=True), dtype=np.float)
'json__raid_available', flat=True), dtype=float)
context['space_left'] = np.round(space / 1000, decimals=1)
context['ibllib_version'] = list(context['labs'].values_list(
'json__ibllib_version', flat=True))
Expand Down

0 comments on commit 40243a0

Please sign in to comment.