Skip to content

Commit

Permalink
fixed bug without --oldJson
Browse files Browse the repository at this point in the history
  • Loading branch information
trvinh committed Nov 16, 2023
1 parent ebf6056 commit 607bdb0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions greedyFAS/mainFAS/greedyFAS.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
from functools import partial
from copy import deepcopy
from tqdm import tqdm
import itertools
import sys
from time import sleep
from greedyFAS.mainFAS.fasInput import read_json
Expand Down Expand Up @@ -236,6 +237,8 @@ def fc_main(domain_count, seed_proteome, query_proteome, clan_dict, option, inte
### FILTER pairwise input based on old json output file
if not [s,q] == check_oldJson(option['old_json'], s, q):
final_pairs.append([s,q])
else:
final_pairs = list(itertools.product(seedlist,querylist))

if option['progress']:
progress = tqdm(total=len(final_pairs), file=sys.stdout)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

setup(
name='greedyFAS',
version='1.18.0',
version='1.18.1',
python_requires='>=3.7.0',
description='A tool to compare protein feature architectures',
long_description=long_description,
Expand Down

0 comments on commit 607bdb0

Please sign in to comment.