Skip to content

Commit 807f9fb

Browse files
Merge pull request #17 from GertjanBisschop/bugfix-lib
Bugfix lib
2 parents d111d8d + 8150e06 commit 807f9fb

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

gimbleprep.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# -*- coding: utf-8 -*-
33

44
import os
5-
from cli.interface import main
5+
from gimbleprep.interface import main
66

77
if __name__ == '__main__':
88
main(os.path.dirname(os.path.realpath(__file__)))

gimbleprep/preprocess.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
-h, --help Show this
1616
"""
1717

18-
import gimbleprep.runargs
1918
import numpy as np
2019
import tempfile
2120
import pathlib
@@ -26,6 +25,9 @@
2625
from tqdm import tqdm
2726
import pysam
2827
import pandas as pd
28+
29+
import gimbleprep.runargs as runargs
30+
2931
from timeit import default_timer as timer
3032
from 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)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
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',

0 commit comments

Comments
 (0)