From 559e4f50c09330b10a7f8a03e957b7c46f8a871c Mon Sep 17 00:00:00 2001 From: Yibei Chen Date: Mon, 8 Jan 2024 20:39:47 +0000 Subject: [PATCH] remove redundancy --- reproschema/cli.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reproschema/cli.py b/reproschema/cli.py index 30bb939..8da2aaf 100644 --- a/reproschema/cli.py +++ b/reproschema/cli.py @@ -114,14 +114,14 @@ def redcap2reproschema(csv_path, yaml_path): raise click.ClickException(f"Error during conversion: {e}") -@main.command("reproschema2redcap") +@main.command() @click.argument("input_path", type=click.Path(exists=True, dir_okay=True)) @click.argument("output_csv_path", type=click.Path(writable=True)) def reproschema2redcap(input_path, output_csv_path): """ - Convert reproschema JSON to Redcap CSV format. + Convert reproschema protocol to Redcap CSV format. """ # Convert input_path to a Path object input_path_obj = Path(input_path) rs2redcap(input_path_obj, output_csv_path) - click.echo(f"Converted reproschema JSON from {input_path} to Redcap CSV at {output_csv_path}") \ No newline at end of file + click.echo(f"Converted reproschema protocol from {input_path} to Redcap CSV at {output_csv_path}") \ No newline at end of file