Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion gtfparse/attribute_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,10 @@ def expand_attribute_strings(
value = intern(str(value))
value_interned_strings[value] = value

column[i] = value
if column[i] == missing_value:
column[i] = value
else:
column[i] = "{},{}".format(column[i], value)

logging.debug(
"Memory usage after expanding GTF attributes: %0.4f MB" % (
Expand Down