We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 677d4e2 commit a41935aCopy full SHA for a41935a
v03_pipeline/lib/misc/allele_registry.py
@@ -195,10 +195,11 @@ def handle_api_response(
195
logger.info(
196
f'{len(response) - len(errors)} out of {len(response)} variants returned CAID(s)',
197
)
198
- logger.info(
199
- f'{len(unmappable_variants)} registered variant(s) cannot be mapped back to ours. '
200
- f'\nFirst unmappable variant:\n{unmappable_variants[0]}',
201
- )
+ if unmappable_variants:
+ logger.info(
+ f'{len(unmappable_variants)} registered variant(s) cannot be mapped back to ours. '
+ f'\nFirst unmappable variant:\n{unmappable_variants[0]}',
202
+ )
203
if errors:
204
logger.warning(
205
f'{len(errors)} failed. First error: {errors[0]}',
0 commit comments