Commit 41f4054
Jon Palmer
Fix phase field initialization for ncRNA genes without CDS
When parsing genes with mRNA/transcript type but no CDS features (ncRNA),
the phase field was not being appended to the results dictionary, causing
a length mismatch error in validate_models().
This fix adds results['phase'].append([]) for ncRNA genes to match the
pattern used for other gene types, ensuring all required fields have
consistent lengths.
Fixes 5 failing tests related to parsing genes without CDS features.1 parent 920c201 commit 41f4054
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1934 | 1934 | | |
1935 | 1935 | | |
1936 | 1936 | | |
| 1937 | + | |
1937 | 1938 | | |
1938 | 1939 | | |
1939 | 1940 | | |
| |||
0 commit comments