Open abreschi opened 2 years ago
Hi! Would it be possible to update the following line, please? https://github.com/openvax/gtfparse/blob/18cc0fde7498ad72c87610268f60826fd89e442b/gtfparse/attribute_parsing.py#L77
Current line and output: "test (a b c)".split(" ", 2)[:2] -> ['test', '(a']
"test (a b c)".split(" ", 2)[:2]
['test', '(a']
Proposed change: parts = kv.strip().split(" ", 1) "test (a b c)".split(" ", 1) -> ['test', '(a b c)']
parts = kv.strip().split(" ", 1)
"test (a b c)".split(" ", 1)
['test', '(a b c)']
Hi! Would it be possible to update the following line, please? https://github.com/openvax/gtfparse/blob/18cc0fde7498ad72c87610268f60826fd89e442b/gtfparse/attribute_parsing.py#L77
Current line and output:
"test (a b c)".split(" ", 2)[:2]
->['test', '(a']
Proposed change:
parts = kv.strip().split(" ", 1)
"test (a b c)".split(" ", 1)
->['test', '(a b c)']