From b55c7842d4644efa914149f64bc92f4da5364f7f Mon Sep 17 00:00:00 2001 From: Chunyu Ma Date: Fri, 17 Nov 2023 16:46:13 -0500 Subject: [PATCH] fixed the mistake for the description --- src/__init__.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/__init__.py b/src/__init__.py index deb8a06..512a7d3 100644 --- a/src/__init__.py +++ b/src/__init__.py @@ -9,16 +9,16 @@ def main(): parser = argparse.ArgumentParser(prog='yacht') subparsers = parser.add_subparsers(dest='command') - # Run command - run_parser = subparsers.add_parser('run', description='Pre-process the reference genomes') - run_YACHT.add_arguments(run_parser) - run_parser.set_defaults(func=run_YACHT.main) - # Train command - train_parser = subparsers.add_parser('train', description='Run the YACHT algorithm') + train_parser = subparsers.add_parser('train', description='Pre-process the reference genomes') make_training_data_from_sketches.add_arguments(train_parser) train_parser.set_defaults(func=make_training_data_from_sketches.main) + # Run command + run_parser = subparsers.add_parser('run', description='Run the YACHT algorithm') + run_YACHT.add_arguments(run_parser) + run_parser.set_defaults(func=run_YACHT.main) + # Convert command convert_parser = subparsers.add_parser('convert', description='Convert YACHT result to other popular output formats') standardize_yacht_output.add_arguments(convert_parser)