Skip to content

Commit e3f924f

Browse files
committed
fixed dumb crash in GTF parsing
1 parent d03c6c7 commit e3f924f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gclib/gff.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ GffLine::GffLine(GffReader* reader, const char* l): _parents(NULL), _parents_len
371371
reader->gtf_transcript=true;
372372
is_gtf_transcript=1;
373373
if (reader->gtf_gene &&
374-
gene_id!=NULL && strcmp(Parent,gene_id)!=0) {
374+
gene_id!=NULL && strcmp(ID,gene_id)!=0) {
375375
Parent=Gstrdup(gene_id);
376376
}
377377
}

stringtie.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include "proc_mem.h"
1212
#endif
1313

14-
#define VERSION "1.3.2b"
14+
#define VERSION "1.3.2c"
1515

1616
//#define DEBUGPRINT 1
1717

@@ -876,7 +876,7 @@ void processOptions(GArgs& args) {
876876
fast=!(args.getOpt('Z')!=NULL);
877877
verbose=(args.getOpt('v')!=NULL);
878878
if (verbose) {
879-
fprintf(stderr, "Command line was:\n");
879+
fprintf(stderr, "Running StringTie " VERSION ". Command line:\n");
880880
args.printCmdLine(stderr);
881881
}
882882
//complete=!(args.getOpt('i')!=NULL);

0 commit comments

Comments
 (0)