Skip to content

Commit b1fa5c4

Browse files
authored
Update TLHcrsFinder.sh
fix sample variable error
1 parent 215fdba commit b1fa5c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/TLHcrsFinder.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ do
367367
prefix=$( echo "${line}" | awk -F "\t" '{print $1}' )
368368
assembly=$( echo "${line}" | awk -F "\t" '{print $2}' )
369369
assemblypath=$( realpath ${assembly} )
370-
[ ! -f "${assemblypath}" ] && echo "ERROR: Cannot find path to assembly from sample ${sample} provided by -al; check path to assembly is correct and file exists" && exit
370+
[ ! -f "${assemblypath}" ] && echo "ERROR: Cannot find path to assembly from sample ${prefix} provided by -al; check path to assembly is correct and file exists" && exit
371371

372372
cd ${output}
373373

0 commit comments

Comments
 (0)