Skip to content

Commit 1e340d8

Browse files
authored
Merge pull request #83 from KumarLabJax/bugfix/incorrect-output-handling-merge-tables
Bugfix/incorrect output handling merge tables
2 parents ff22082 + 251708b commit 1e340d8

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
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

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "mouse-tracking"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
description = "Runtime environment for mouse tracking experiments"
55
requires-python = ">=3.10,<3.11"
66
packages = ["src/mouse_tracking"]

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)