Skip to content

Commit

Permalink
warning for long header in addTaxon1s
Browse files Browse the repository at this point in the history
  • Loading branch information
trvinh committed Sep 10, 2020
1 parent e2c6326 commit b4b547b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions h1s/addTaxon1s.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def runBlast(args):


def main():
version = '1.1.0'
version = '1.1.1'
parser = argparse.ArgumentParser(description='You are running addTaxon1s version ' + str(version) + '.')
required = parser.add_argument_group('required arguments')
optional = parser.add_argument_group('optional arguments')
Expand Down Expand Up @@ -182,7 +182,8 @@ def main():
cf.write(str(datetime.now()))
cf.close()
# warning about long header
print('\033[91mWARNING: Headers are longer than 80 characters. It could cause some troubles!\033[0m')
if longId == 'yes':
print('\033[91mWARNING: Headers are longer than 80 characters. It could cause some troubles!\033[0m')
else:
print(genomePath + '/' + specName + '.fa already exists!')

Expand Down
2 changes: 1 addition & 1 deletion h1s/h1s.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def h1s(args):
sys.exit('Problem running\n%s' % (cmd))

def main():
version = '2.2.11'
version = '2.2.12'
parser = argparse.ArgumentParser(description='You are running h1s version ' + str(version) + '.')
parser.add_argument('--version', action='version', version=str(version))
required = parser.add_argument_group('Required arguments')
Expand Down
2 changes: 1 addition & 1 deletion h1s/hms.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def calcFAS (outpath, extendedFa, weightpath, cpu):
sys.exit('Problem running\n%s' % (fasCmd))

def main():
version = '2.2.11'
version = '2.2.12'
parser = argparse.ArgumentParser(description='You are running h1s version ' + str(version) + '.')
parser.add_argument('--version', action='version', version=str(version))
required = parser.add_argument_group('Required arguments')
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

setup(
name="h1s",
version="2.2.11",
version="2.2.12",
python_requires='>=3.7.0',
description="Feature-aware orthology prediction tool",
long_description=long_description,
Expand Down

0 comments on commit b4b547b

Please sign in to comment.