diff --git a/fsac/__init__.py b/fsac/__init__.py index a8d280c..18df1df 100644 --- a/fsac/__init__.py +++ b/fsac/__init__.py @@ -1,3 +1,3 @@ -__version__ = '1.0.3' +__version__ = '1.0.4' __author__ = 'Dillon Barker' __email__ = 'dillon.barker@canada.ca' diff --git a/fsac/update.py b/fsac/update.py index cd59bcd..286ed74 100644 --- a/fsac/update.py +++ b/fsac/update.py @@ -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