Skip to content

Commit

Permalink
Merge pull request #40 from harvardinformatics/develop
Browse files Browse the repository at this point in the history
fixed missing return value in getVariants
  • Loading branch information
tsackton authored Jun 15, 2023
2 parents 3877271 + e47fb59 commit edada33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions degenotate_lib/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ def __setitem__(self, key, value):

def init():
globs_init = {
'version' : '1.2.1',
'releasedate' : "May 2023",
'version' : '1.2.2',
'releasedate' : "June 2023",
'authors' : "Timothy Sackton, Gregg Thomas",
'doi' : '',
'http' : 'https://github.com/harvardinformatics/degenotate',
Expand Down
2 changes: 1 addition & 1 deletion degenotate_lib/vcf.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def getVariants(globs, transcript, transcript_region, codons, extra_leading_nt,
# Check if records returns anything
if empty:
# No record at this position, which means no variation in this transcript
return mk_codons;
return mk_codons, globs;
else:
# one or more records at this position
for rec in transcript_records:
Expand Down

0 comments on commit edada33

Please sign in to comment.