Skip to content

Commit

Permalink
partially address #57
Browse files Browse the repository at this point in the history
  • Loading branch information
gpertea committed Sep 19, 2020
1 parent 2f5b3d0 commit eb4ab46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gffread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -856,6 +856,8 @@ int main(int argc, char* argv[]) {
if (f_out && (fmtGFF3 || fmtTable)) {
while (gfs_i<gdata->gfs.Count()) {
GffObj& gfst=*(gdata->gfs[gfs_i]);
if (TFilters && gfst.isGene() && gfst.children.Count()==0) // gene with no children left, skip it if filters were applied
{ ++gfs_i; continue; }
if T_PRINTABLE(gfst.udata) { //never printed
T_NO_PRINT(gfst.udata);
if (fmtGFF3) {
Expand Down

0 comments on commit eb4ab46

Please sign in to comment.