Skip to content

Commit a051323

Browse files
committed
Remove unused line
1 parent 1de806e commit a051323

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

ibllib/pipes/tasks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ def create_alyx_tasks(self, rerun__status__in=None):
410410
tasks_alyx = []
411411
# creates all the tasks by iterating through the ordered dict
412412
for k, t in self.tasks.items():
413-
# get the parents alyx ids to reference in the database
413+
# get the parents' alyx ids to reference in the database
414414
if len(t.parents):
415415
pnames = [p.name for p in t.parents]
416416
parents_ids = [ta['id'] for ta in tasks_alyx if ta['name'] in pnames]
@@ -492,7 +492,7 @@ def run_alyx_task(tdict=None, session_path=None, one=None, job_deck=None,
492492
:return:
493493
"""
494494
registered_dsets = []
495-
# here we need to check parents status, get the job_deck if not available
495+
# here we need to check parents' status, get the job_deck if not available
496496
if not job_deck:
497497
job_deck = one.alyx.rest('tasks', 'list', session=tdict['session'], no_cache=True)
498498
if len(tdict['parents']):

ibllib/tests/test_tasks.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@
3232
desired_datasets = ['spikes.times.npy', 'spikes.amps.npy', 'spikes.clusters.npy']
3333
desired_versions = {'spikes.times.npy': 'custom_job00',
3434
'spikes.amps.npy': version.ibllib(),
35-
'spikes.clusters.npy': version.ibllib(),
36-
'spikes.templates.npy': version.ibllib()}
35+
'spikes.clusters.npy': version.ibllib()}
3736
desired_logs = 'Running on machine: testmachine'
3837
desired_logs_rerun = {
3938
'Task00': 1,

0 commit comments

Comments
 (0)