Skip to content

Commit

Permalink
fix minors
Browse files Browse the repository at this point in the history
  • Loading branch information
yibeichan committed Jan 8, 2024
1 parent aab34e6 commit abba86a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion reproschema/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit abba86a

Please sign in to comment.