Skip to content

Commit

Permalink
Improvement for setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Liu committed Jun 24, 2020
1 parent e848160 commit 2229603
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/DeepMod.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def mDetect(margs):
print("No mod file is provided. The default one is used")
moptions['modfile'] = ('train_deepmod/rnn_P90wd%d_f53/mod_train_P90wd%d_f53' % (moptions['windowsize'], moptions['windowsize']))
if (not os.path.isfile(moptions['modfile']+'.meta')):
moptions['modfile'] = ('%s/train_deepmod/rnn_P90wd%d_f53/mod_train_P90wd%d_f53' % (sys.prefix, moptions['windowsize'], moptions['windowsize']))
moptions['modfile'] = ('{}/lib/python{}.{}/site-packages/DeepMod/train_deepmod/rnn_P90wd%d_f53/mod_train_P90wd%d_f53' % (sys.prefix,sys.version_info.major,sys.version_info.minor, moptions['windowsize'], moptions['windowsize']))
if (not os.path.isfile(moptions['modfile']+'.meta')):
ErrorMessage = ErrorMessage + ("\n\tThe meta file (%s) does not exist" % (moptions['modfile']+'.meta' if not moptions['modfile']==None else ""))
else:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setuptools.setup(
name="DeepMod", # Replace with your own username
version="0.1.2",
version="0.1.3",
author="Qian Liu",
author_email="[email protected]",
description="A deep-learning tool to detect DNA modifications using Nanopore long-read sequencing data",
Expand Down

0 comments on commit 2229603

Please sign in to comment.