From 5df5b4ee245f9102a9c6e16b9e237cd1923465f9 Mon Sep 17 00:00:00 2001 From: Michal Ziemski Date: Fri, 17 May 2024 10:23:43 +0200 Subject: [PATCH] Metadata should be mandatory --- q2_moshpit/filtering/filter_mags.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/q2_moshpit/filtering/filter_mags.py b/q2_moshpit/filtering/filter_mags.py index bd5da834..2450c186 100644 --- a/q2_moshpit/filtering/filter_mags.py +++ b/q2_moshpit/filtering/filter_mags.py @@ -102,7 +102,7 @@ def _mags_to_df(mags: MultiMAGSequencesDirFmt, on: str): def filter_derep_mags( mags: MAGSequencesDirFmt, - metadata: Metadata = None, + metadata: Metadata, where: str = None, exclude_ids: bool = False, ) -> MAGSequencesDirFmt: @@ -124,7 +124,7 @@ def filter_derep_mags( def filter_mags( mags: MultiMAGSequencesDirFmt, - metadata: Metadata = None, + metadata: Metadata, where: str = None, exclude_ids: bool = False, on: str = 'mag'