diff --git a/alyx/alyx/__init__.py b/alyx/alyx/__init__.py index 65af3030..bd54661f 100644 --- a/alyx/alyx/__init__.py +++ b/alyx/alyx/__init__.py @@ -1 +1 @@ -VERSION = __version__ = '1.18.0' +VERSION = __version__ = '1.18.1' diff --git a/alyx/jobs/views.py b/alyx/jobs/views.py index 00573670..7fd20cda 100644 --- a/alyx/jobs/views.py +++ b/alyx/jobs/views.py @@ -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))