diff --git a/README.md b/README.md index 0168670..17d18ab 100644 --- a/README.md +++ b/README.md @@ -48,12 +48,13 @@ Options: Log level name [default: INFO] --help Show this message and exit. -convert +Commands: + convert create redcap2reproschema Convert REDCap CSV files to Reproschema format. + reproschema2redcap Convert reproschema protocol to REDCap CSV format. serve validate - reproschema2redcap ``` ## `reproschema2redcap` Usage @@ -88,7 +89,7 @@ output_csv_filename = "output.csv" reproschema2redcap(input_dir_path, output_csv_filename) ``` -## redcap2reproschema Usage +## `redcap2reproschema` Usage The `redcap2reproschema` function is designed to process a given REDCap CSV file and YAML configuration to generate the output in the reproschema format. ### Prerequisites diff --git a/reproschema/cli.py b/reproschema/cli.py index b5290e5..e31b03e 100644 --- a/reproschema/cli.py +++ b/reproschema/cli.py @@ -119,7 +119,7 @@ def redcap2reproschema(csv_path, yaml_path): @click.argument("output_csv_path", type=click.Path(writable=True)) def reproschema2redcap(input_path, output_csv_path): """ - Convert reproschema protocol to Redcap CSV format. + Convert reproschema protocol to REDCap CSV format. """ # Convert input_path to a Path object input_path_obj = Path(input_path) diff --git a/reproschema/tests/test_data/redcap2rs.yaml b/reproschema/tests/test_redcap2rs_data/redcap2rs.yaml similarity index 100% rename from reproschema/tests/test_data/redcap2rs.yaml rename to reproschema/tests/test_redcap2rs_data/redcap2rs.yaml diff --git a/reproschema/tests/test_data/redcap_dict.csv b/reproschema/tests/test_redcap2rs_data/redcap_dict.csv similarity index 100% rename from reproschema/tests/test_data/redcap_dict.csv rename to reproschema/tests/test_redcap2rs_data/redcap_dict.csv