File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 22# -*- coding: utf-8 -*-
33
44import os
5- from cli .interface import main
5+ from gimbleprep .interface import main
66
77if __name__ == '__main__' :
88 main (os .path .dirname (os .path .realpath (__file__ )))
Original file line number Diff line number Diff line change 1515 -h, --help Show this
1616"""
1717
18- import gimbleprep .runargs
1918import numpy as np
2019import tempfile
2120import pathlib
2625from tqdm import tqdm
2726import pysam
2827import pandas as pd
28+
29+ import gimbleprep .runargs as runargs
30+
2931from timeit import default_timer as timer
3032from docopt import docopt
3133
@@ -68,7 +70,7 @@ def fix_permissions(path):
6870 os .chmod (_f , 0o664 )
6971 #os.chmod(root, 0o775)
7072
71- class PreprocessParameterObj (lib . runargs .RunArgs ):
73+ class PreprocessParameterObj (runargs .RunArgs ):
7274 '''Sanitises command line arguments and stores parameters'''
7375 def __init__ (self , params , args ):
7476 super ().__init__ (params )
@@ -271,7 +273,7 @@ def main(params):
271273 parameterObj = PreprocessParameterObj (params , args )
272274 print ("[+] Running 'gimble-preprocess'..." )
273275 preprocess (parameterObj )
274- print ("[*] Total runtime was %s" % (lib . runargs .format_time (timer () - start_time )))
276+ print ("[*] Total runtime was %s" % (runargs .format_time (timer () - start_time )))
275277 except KeyboardInterrupt :
276- print ("\n [X] Interrupted by user after %s !\n " % (lib . runargs .format_time (timer () - start_time )))
278+ print ("\n [X] Interrupted by user after %s !\n " % (runargs .format_time (timer () - start_time )))
277279 exit (- 1 )
Original file line number Diff line number Diff line change 22
33setup (
44 name = 'gimbleprep' ,
5- version = '0.0.2b4 ' ,
5+ version = '0.0.2b5 ' ,
66 description = 'Preprocess fasta, bam and vcf files ready to be used by gimble' ,
77 url = 'http://github.com/LohseLab/gimbleprep' ,
88 author = 'Lohse Lab' ,
You can’t perform that action at this time.
0 commit comments