Skip to content

Commit 791d933

Browse files
committed
Fixing output behavior of AGGREGATE_BOUT_TABLES process.
1 parent 026f81f commit 791d933

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

nextflow/modules/jabs_classifiers.nf

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,12 +178,15 @@ process BEHAVIOR_TABLE_TO_FEATURES {
178178
*
179179
* @return merged_bout_tables List of paths to merged bout tables, one per behavior.
180180
* @return merge_log Path to the log file detailing the merge process.
181+
*
182+
* @publish ./results/merged_behavior_tables Merged behavior bout tables
183+
* @publish ./results/merged_behavior_tables Merge log file
181184
*/
182185
process AGGREGATE_BOUT_TABLES {
183186
label "jabs_table_convert"
184187
label "r_jabs_table_convert"
185188

186-
publishDir "${params.outdir}/merged_behavior_tables", mode: 'copy'
189+
publishDir "${params.pubdir}/merged_behavior_tables", mode: 'copy'
187190

188191
input:
189192
path bout_tables

nextflow/workflows/feature_generation.nf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ include { EXTRACT_FECAL_BOLI_BINS } from "${projectDir}/nextflow/modules/fecal_b
4646
*
4747
* @return path gait_results The channel of generated gait feature files.
4848
* @return path morphometrics_results The channel of generated morphometric feature files.
49+
* @return path merged_bout_tables The channel of merged bout tables from JABS classifiers.
4950
*
5051
* @publish ./results/ Gait feature files
5152
* @publish ./results/ Morphometric feature files
@@ -128,7 +129,7 @@ workflow SINGLE_MOUSE_V6_FEATURES {
128129
.map { bout_table, summary_table -> bout_table }
129130
.flatten()
130131
.collect()
131-
merged_bout_tables = AGGREGATE_BOUT_TABLES(all_bout_tables)
132+
merged_bout_tables = AGGREGATE_BOUT_TABLES(all_bout_tables).merged_bout_tables
132133

133134
// Combine table data into feature file
134135
all_summary_tables = heuristic_tables

0 commit comments

Comments
 (0)