Skip to content

Commit

Permalink
Remove last references to old denovo pipelines as part of #548.
Browse files Browse the repository at this point in the history
  • Loading branch information
donkirkby committed Mar 25, 2020
1 parent e46da43 commit 0bcfd06
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 20 deletions.
7 changes: 0 additions & 7 deletions micall/monitor/kive_watcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,13 +462,6 @@ def add_sample_group(self, base_calls, sample_group):
direction + ' read from MiSeq run ' +
folder_watcher.run_name)
sample_watcher.fastq_datasets.append(fastq_dataset)
if (self.config.denovo_pipeline_id or
self.config.denovo_combined_pipeline_id):
sample_name = trim_name(fastq_name)
name_dataset = self.find_or_upload_dataset(
BytesIO(sample_name.encode('UTF8')),
f'{sample_name}_name.txt')
sample_watcher.name_datasets.append(name_dataset)

folder_watcher.sample_watchers.append(sample_watcher)
return sample_watcher
Expand Down
4 changes: 1 addition & 3 deletions micall/monitor/sample_watcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,7 @@ def active_run_count(self):
for pipeline_id in (
self.runner.config.micall_main_pipeline_id,
self.runner.config.denovo_main_pipeline_id,
self.runner.config.mixed_hcv_pipeline_id,
self.runner.config.denovo_pipeline_id,
self.runner.config.denovo_combined_pipeline_id))
self.runner.config.mixed_hcv_pipeline_id))

all_samples = set(self.all_samples)
return n * len(all_samples - self.completed_samples)
Expand Down
10 changes: 0 additions & 10 deletions micall_watcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,6 @@ def parse_args(argv=None):
type=int,
default=os.environ.get('MICALL_MIXED_HCV_PIPELINE_ID', None),
help="id of Mixed HCV pipeline's container app")
parser.add_argument(
'--denovo_pipeline_id',
type=int,
default=os.environ.get('MICALL_DENOVO_PIPELINE_ID', None),
help="id of Denovo pipeline's container app")
parser.add_argument(
'--denovo_combined_pipeline_id',
type=int,
default=os.environ.get('MICALL_DENOVO_COMBINED_PIPELINE_ID', None),
help="id of Denovo pipeline's container app for combining two samples")
parser.add_argument(
'--denovo_main_pipeline_id',
type=int,
Expand Down

0 comments on commit 0bcfd06

Please sign in to comment.