Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try adding nextflow strict #461

Merged
merged 16 commits into from
Apr 4, 2024
14 changes: 6 additions & 8 deletions workflows/taxprofiler.nf
Original file line number Diff line number Diff line change
Expand Up @@ -179,14 +179,12 @@ workflow TAXPROFILER {
}
.transpose(by: 0)

ch_final_dbs = ch_dbs_for_untar.skip.mix( ch_outputdb_from_untar )
ch_final_dbs
.map { db_meta, db -> [ db_meta.db_params ]
def corrected_db_params = db_meta.db_params == null ? '' : db_meta.db_params
db_meta.db_params = corrected_db_params
[ db_meta, db ]
}

ch_final_dbs = ch_dbs_for_untar.skip
.mix( ch_outputdb_from_untar )
.map { db_meta, db ->
def corrected_db_params = db_meta.db_params == null ? [ db_params: '' ] : [ db_params: db_meta.db_params ]
jfy133 marked this conversation as resolved.
Show resolved Hide resolved
[ db_meta + corrected_db_params, db ]
}

/*
MODULE: Run FastQC
Expand Down
Loading