Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoneType error in mixed HCV pipeline #463

Closed
donkirkby opened this issue Mar 15, 2019 · 0 comments
Closed

NoneType error in mixed HCV pipeline #463

donkirkby opened this issue Mar 15, 2019 · 0 comments

Comments

@donkirkby
Copy link
Member

The 08-Mar-2019.M04401 run contained two samples: NEG-1_HCV and NEG-2_MidHCV. Because these didn't follow the naming convention for whole-genome and MIDI sample pairs, NEG-1 did not have a MIDI partner. When I tried to run the MiCall watcher with the Mixed HCV pipeline enabled, it failed with this error:

2019-03-15 14:56:57[ERROR]micall.monitor.kive_watcher.wait_for_retry(): Waiting 0:00:05 before retrying.
Traceback (most recent call last):
  File "/mnt/data/don/git/MiCall/micall/monitor/sample_watcher.py", line 92, in poll_runs
    is_finished = self.poll_sample_runs(sample_watcher)
  File "/mnt/data/don/git/MiCall/micall/monitor/sample_watcher.py", line 131, in poll_sample_runs
    for run in (mixed_hcv_run, mixed_hcv_midi_run)
  File "/mnt/data/don/git/MiCall/micall/monitor/sample_watcher.py", line 132, in <listcomp>
    if run['id'] in self.active_runs and not self.fetch_run_status(run)]
TypeError: 'NoneType' object is not subscriptable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/mnt/data/don/git/MiCall/micall/monitor/kive_watcher.py", line 422, in poll_runs
    folder_watcher.poll_runs()
  File "/mnt/data/don/git/MiCall/micall/monitor/sample_watcher.py", line 96, in poll_runs
    f'failed.') from ex
RuntimeError: Polling sample group NEG-1 failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant