Skip to content

Commit

Permalink
fix percentlength not updating correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
dorbarker committed Sep 24, 2019
1 parent 90fbef2 commit e7d9a16
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion fsac/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = '1.0.3'
__version__ = '1.0.4'
__author__ = 'Dillon Barker'
__email__ = '[email protected]'
3 changes: 3 additions & 0 deletions fsac/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@ def update_genome(genome_data: Dict[str, GeneData],
gene['Mismatches'] = 0
gene['Gaps'] = 0
gene['QueryName'] = name
# TODO fix this quirk where 1 is 100% in PercentLength
# and 100 is 100% in PercentIdentity
gene['PercentIdentity'] = 100
gene['PercentLength'] = 1
gene['MarkerMatch'] = name
gene['CorrectMarkerMatch'] = True

Expand Down

0 comments on commit e7d9a16

Please sign in to comment.