From f511f323b2a7d878d155bb4bd11b8ebd27792244 Mon Sep 17 00:00:00 2001 From: Yibei Chen Date: Mon, 8 Jan 2024 20:12:14 +0000 Subject: [PATCH] manually resolve conflicts --- reproschema/cli.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/reproschema/cli.py b/reproschema/cli.py index 362a798..30bb939 100644 --- a/reproschema/cli.py +++ b/reproschema/cli.py @@ -100,18 +100,6 @@ def serve(port): start_server(port=port) -@main.command() -@click.argument("csv_path", type=click.Path(exists=True, dir_okay=False)) -@click.argument("yaml_path", type=click.Path(exists=True, dir_okay=False)) -def redcap2reproschema(csv_path, yaml_path): - """ - Convert REDCap CSV files to Reproschema format. - """ - try: - redcap2rs(csv_path, yaml_path) - click.echo("Converted REDCap data dictionary to Reproschema format.") - except Exception as e: - raise click.ClickException(f"Error during conversion: {e}") @main.command() @click.argument("csv_path", type=click.Path(exists=True, dir_okay=False)) @click.argument("yaml_path", type=click.Path(exists=True, dir_okay=False))