Skip to content

Commit

Permalink
Fix error: 'MiniprotRunner' has no attribute 'search_miniprot'
Browse files Browse the repository at this point in the history
  • Loading branch information
huangnengCSU committed Dec 7, 2023
1 parent e5a00e5 commit 6c449cf
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions compleasm.py
Original file line number Diff line number Diff line change
Expand Up @@ -2355,11 +2355,9 @@ def list_lineages(args):


def miniprot(args):
if args.miniprot_execute_path is None:
miniprot_execute_path = MiniprotRunner.search_miniprot()
else:
miniprot_execute_path = args.miniprot_execute_path
mr = MiniprotRunner(miniprot_execute_path, args.outs, args.threads)
ckdm = CheckDependency(args.miniprot_execute_path)
miniprot_execute_command = ckdm.check_miniprot()
mr = MiniprotRunner(miniprot_execute_command, args.outs, args.threads)
if not os.path.exists(os.path.join(args.outdir, "miniprot.done")):
mr.run_miniprot(args.assembly, args.protein, args.outdir)
else:
Expand Down

0 comments on commit 6c449cf

Please sign in to comment.