SIENTIAPDE-1445
Refactor gather_read_tags function to remove logger parameter and associated logging statements, streamlining the function for improved clarity and focus on processing pipelines.
This commit is contained in:
@@ -386,7 +386,7 @@ def predictions_batch(config: dict[str, Any]):
|
||||
}
|
||||
|
||||
|
||||
def gather_read_tags(pipelines: list[dict[str, Any]], logger) -> dict[str, Any]:
|
||||
def gather_read_tags(pipelines: list[dict[str, Any]]) -> dict[str, Any]:
|
||||
"""
|
||||
Gather all read tags from input pipelines.
|
||||
|
||||
@@ -405,8 +405,6 @@ def gather_read_tags(pipelines: list[dict[str, Any]], logger) -> dict[str, Any]:
|
||||
|
||||
# Get all read tags from pipelines
|
||||
for pipeline in pipelines:
|
||||
logger.info(
|
||||
f'Processing pipeline: {pipeline["workflow_type"]}: {pipeline.get("read_tags", [])}')
|
||||
if pipeline['workflow_type'] != 'scouter':
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user