Skip to content

Commit

Permalink
small bug fix in main
Browse files Browse the repository at this point in the history
  • Loading branch information
lauraluebbert committed May 17, 2022
1 parent bd50ac1 commit 88d3d5d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gget/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
from .gget_enrichr import enrichr
from .gget_archs4 import archs4

__version__ = "0.0.23"
__version__ = "0.0.24"
__author__ = "Laura Luebbert"
__email__ = "[email protected]"
4 changes: 2 additions & 2 deletions gget/gget_blat.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,9 @@ def blat(sequence, seqtype="default", assembly="human", save=False):

# Let user know if assembly was not found
# If this is the case, BLAT automatically defaults to human (hg38)
if results["genome"][0] != database:
if results["genome"] != database:
logging.warning(
f"Assembly {database} not recognized. Defaulted to {results['genome'][0]} instead."
f"Assembly {database} not recognized. Defaulted to {results['genome']} instead."
)

## Build data frame to resemble BLAT web search results
Expand Down
2 changes: 1 addition & 1 deletion gget/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ def main():
help=(
"'human' (assembly hg38) (default), 'mouse' (assembly mm39), "
"or any of the species assemblies available at https://genome.ucsc.edu/cgi-bin/hgBlat "
"(use short assembly name as listed after the "/"). "
"(use short assembly name as listed after the '/'). "
),
)
parser_blat.add_argument(
Expand Down

0 comments on commit 88d3d5d

Please sign in to comment.