Skip to content

fixed .bed.bed unconsitent output name #64

Merged
merged 1 commit into from
Jan 13, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion bin/1.2_filter_motifs/compareBed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,8 @@ then
echo "directory $workdir does not exist. Please check parameter -w / --workdir"
exit 1
fi
if [[ ${output: -4: -1} != '.bed' ]]
# check if output path ends with .bed. If not, the filename is extended by ".bed"
if [[ ${output: -4} != '.bed' ]]
then
output=`echo $output | sed "s|$|.bed|g"`
fi
Expand Down