Skip to content

Commit

Permalink
Bump version; use ensure_list
Browse files Browse the repository at this point in the history
  • Loading branch information
k1o0 committed Mar 3, 2025
1 parent 9a9ff73 commit be71131
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ibllib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import logging
import warnings

__version__ = '3.2.0'
__version__ = '3.3.0'
warnings.filterwarnings('always', category=DeprecationWarning, module='ibllib')

# if this becomes a full-blown library we should let the logging configuration to the discretion of the dev
Expand Down
4 changes: 1 addition & 3 deletions ibllib/pipes/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -700,9 +700,7 @@ def create_alyx_tasks(self, rerun__status__in=None, tasks_list=None):
list
List of Alyx task dictionaries (existing and/or created).
"""
rerun__status__in = ([rerun__status__in]
if isinstance(rerun__status__in, str)
else rerun__status__in or [])
rerun__status__in = ensure_list(rerun__status__in)
if '__all__' in rerun__status__in:
rerun__status__in = [x for x in TASK_STATUS_SET if x != 'Abandoned']
assert self.eid
Expand Down

0 comments on commit be71131

Please sign in to comment.