Skip to content

Commit

Permalink
Create run_details_file before it needs to be uploaded.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmaurais committed Sep 9, 2024
1 parent 59375e4 commit 28174b9
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ workflow {
all_mzml_ch = wide_mzml_ch
}

// save details about this run
input_files = all_mzml_ch.map{ it -> ['Spectra File', it.baseName] }
version_files = Channel.empty()
save_run_details(input_files.collect(), version_files.collect())
run_details_file = save_run_details.out.run_details

// if requested, upload mzMLs to panorama
if(params.panorama.upload) {

Expand All @@ -124,13 +130,6 @@ workflow {
)
}


// save details about this run
input_files = all_mzml_ch.map{ it -> ['Spectra File', it.baseName] }
version_files = Channel.empty()
save_run_details(input_files.collect(), version_files.collect())
run_details_file = save_run_details.out.run_details

return
}

Expand Down

0 comments on commit 28174b9

Please sign in to comment.