Skip to content

Commit

Permalink
Remove debugging, should be working now just need to finally test MOT…
Browse files Browse the repository at this point in the history
…US_MERGE gets executed
  • Loading branch information
jfy133 committed Jul 6, 2023
1 parent 6b1c47d commit 69b2158
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions subworkflows/local/standardisation_profiles.nf
Original file line number Diff line number Diff line change
Expand Up @@ -174,19 +174,16 @@ workflow STANDARDISATION_PROFILES {
[[id:it[0]], it[1]]
}

ch_input_for_motus = ch_profiles_for_motus
.dump(tag: "B41")
ch_input_for_motusmerge = ch_profiles_for_motus
.map { meta, profile -> [meta['id'], meta, profile] }
.dump(tag: "B42")
.combine(ch_input_databases.motus.map{meta, db -> [meta.db_name, meta, db]}, by: 0)
.dump(tag: "AFTER")
.multiMap {
key, meta, profile, db_meta, db ->
profile: [meta, profile]
db: db
}

MOTUS_MERGE ( ch_profiles_for_motus.profile, ch_profiles_for_motus.profile.db, motu_version )
MOTUS_MERGE ( ch_input_for_motusmerge.profile, ch_input_for_motusmerge.db, motu_version )
ch_versions = ch_versions.mix( MOTUS_MERGE.out.versions )

emit:
Expand Down

0 comments on commit 69b2158

Please sign in to comment.