Skip to content

Commit

Permalink
update main method to allow for merge subcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
ashuaibi7 committed Jan 7, 2025
1 parent d016544 commit 5fcb75c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/dialect/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
identify_pairwise_interactions,
read_cbase_results_file,
run_comparison_methods,
merge_pairwise_interaction_results,
)


Expand Down Expand Up @@ -43,6 +44,14 @@ def main():
k=args.top_k,
)

elif args.command == "merge":
os.makedirs(args.out, exist_ok=True)
merge_pairwise_interaction_results(
dialect_results=args.dialect,
alt_results=args.alt,
out=args.out,
)


if __name__ == "__main__":
main()

0 comments on commit 5fcb75c

Please sign in to comment.