Skip to content

Commit 7b6e41b

Browse files
committed
Review feedback
1 parent 54bfa62 commit 7b6e41b

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

nextflow/modules/jabs_classifiers.nf

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ process GENERATE_FEATURE_CACHE {
4444
* @param tuple
4545
* - in_pose The input pose file.
4646
* - feature_cache The directory containing the generated features.
47-
* @param classifiers A map of classifier names to their respective parameters.
47+
* @param classifiers A map of classifiers:
48+
* - <classifier_name>: classifier parameter maps (not used by this process)
4849
*
4950
* @return tuple files
5051
* - Path to the original pose file.
@@ -81,7 +82,10 @@ process PREDICT_CLASSIFIERS {
8182
* - in_pose The input pose file.
8283
* - feature_cache The directory containing the generated features.
8384
* - behavior_files The behavior prediction file.
84-
* @param classifiers A map of classifier names to their respective parameters.
85+
* @param classifiers A map of classifiers:
86+
* - <classifier_name>: classifier parameter maps:
87+
* - stitch_value: the gap size for stitching behavior bouts
88+
* - filter_value: the minimum length for behavior bouts
8589
*
8690
* @return tuple files
8791
* - Path to the generated behavior bout file.

nextflow/modules/utils.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ process FILTER_LOCAL_BATCH {
5353
"""
5454
touch files_to_process.txt
5555
while IFS="" read -r file; do
56-
if [[ ! -f "\${file}" ]]
56+
if [[ ! -f "\${file}" ]]; then
5757
if [[ ${ignore_invalid_inputs} != "true" ]]; then
5858
echo "File does not exist: \${file}"
5959
exit 1

0 commit comments

Comments
 (0)