diff --git a/anvio/workflows/metagenomics/Snakefile b/anvio/workflows/metagenomics/Snakefile index b98a39afca..3413a6b5f6 100755 --- a/anvio/workflows/metagenomics/Snakefile +++ b/anvio/workflows/metagenomics/Snakefile @@ -783,7 +783,7 @@ if sample_name != M.default_config['anvi_profile']['--sample-name'] and sample_n def get_cluster_contigs_param(wildcards): """ helper function to sort out whether to cluster contigs for a single profile database""" - if M.get_param_value_from_config(['anvi_profile', '--cluster-contigs']) is not None: + if M.get_param_value_from_config(['anvi_profile', '--cluster-contigs']) is not "": run.warning('You chose to set the value for --cluster-contigs as %s. You can do that if you ' 'choose to, but just so you know, if you don\'t provide a value then ' 'the workflow would automatically cluster contigs for profile databases '