Skip to content

Commit

Permalink
added updateJson, updateAnno, opt to limit paths
Browse files Browse the repository at this point in the history
  • Loading branch information
trvinh committed Nov 24, 2023
1 parent 854479c commit 90f29fe
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions greedyFAS/calcFASmulti.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,13 +327,13 @@ def main():
if len(missing_dict) > 0:
sys.exit(f'ERROR: Annotations for the following proteins are missing!\n{missing_dict}')

out_name = outName
out_dir = os.path.abspath(out_dir)
if not outName:
out_name = args.outName
out_dir = os.path.abspath(args.out_dir)
if not args.outName:
today = date.today()
out_name = f"fas_{today.strftime('%y%m%d')}"
if args.mergeJson:
check_json_output(out_name, args.out_dir, args.force)
check_json_output(out_name, out_dir, args.force)

print('==> preparing jobs...')
if args.cpus == 0:
Expand Down

0 comments on commit 90f29fe

Please sign in to comment.