Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
R3
legacy
bedtools2
Commits
59f252a8
Commit
59f252a8
authored
Feb 23, 2015
by
arq5x
Browse files
enable -header for closest.
parent
5cc56ed9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/utils/RecordOutputMgr/RecordOutputMgr.cpp
View file @
59f252a8
...
...
@@ -138,6 +138,10 @@ void RecordOutputMgr::printRecord(const Record *record, const QuickString & valu
void
RecordOutputMgr
::
printClosest
(
RecordKeyVector
&
keyList
,
const
vector
<
int
>
*
dists
)
{
//The first time we print a record is when we print any header, because the header
//hasn't been read from the query file until after the first record has also been read.
checkForHeader
();
const
ContextClosest
*
context
=
static_cast
<
const
ContextClosest
*>
(
_context
);
bool
deleteBlocks
=
false
;
const
Record
*
keyRec
=
keyList
.
getKey
();
...
...
@@ -203,6 +207,7 @@ void RecordOutputMgr::printRecord(RecordKeyVector &keyList, RecordKeyVector *blo
if
(
needsFlush
())
{
flush
();
}
//The first time we print a record is when we print any header, because the header
//hasn't been read from the query file until after the first record has also been read.
checkForHeader
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment