Skip to content

Commit

Permalink
Move preprocess logic to a sub dir
Browse files Browse the repository at this point in the history
  • Loading branch information
gayaldassanayake committed Nov 16, 2021
1 parent 709ff81 commit 26ee85b
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import argparse

from constants import *
from preprocess import preprocess
from preprocess.preprocess import preprocess

def parse_user_arguements():
parser = argparse.ArgumentParser(
Expand Down Expand Up @@ -42,4 +42,4 @@ def main(args):

if __name__ == "__main__":
args = parse_user_arguements()
main(args)
main(args)
Empty file added preprocess/__init__.py
Empty file.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions preprocess.py → preprocess/preprocess.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os

from fragment import fragment
from kmer import count_kmers
from preprocess.fragment import fragment
from preprocess.kmer import count_kmers
from constants import *
from helpers import print_error

Expand Down
1 change: 0 additions & 1 deletion progress_bar.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,3 @@ def update_progress_bar(pbar,i):

def close_progress_bar(pbar):
pbar.close()

0 comments on commit 26ee85b

Please sign in to comment.