Skip to content

Commit

Permalink
removing string chars from v number
Browse files Browse the repository at this point in the history
  • Loading branch information
aineniamh committed Feb 19, 2021
1 parent a9ab2f4 commit 1763ac0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pangolin/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,9 @@ def main(sysargs = sys.argv[1:]):
for l in fr:
if l.startswith("__version__"):
l = l.rstrip("\n")
version = l.rstrip("\n").split("=")[1]
version = l.split('=')[1]
version = version.replace('"',"").replace(" ","")
print("pangoLEARN version",version)
config["pangoLEARN_version"] = version

if not args.datadir:
Expand Down

0 comments on commit 1763ac0

Please sign in to comment.