Skip to content

Commit 1ac169e

Browse files
authored
fix typos (ReproNim#70)
1 parent 3b75984 commit 1ac169e

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ pip install reproschema
1212

1313
### Developer installation
1414

15-
After you create a fork, you can clone and install repo in developer mode:
15+
Fork this repo to your own GitHub account, then clone and install your forked repo in the developer mode:
1616

1717
```
1818
git clone https://github.com/<your github>/reproschema-py.git
1919
cd reproschema-py
20-
pip install -e .[dev]
20+
pip install -e .
2121
```
2222
#### Style
2323
This repo uses pre-commit to check styling.
2424
- Install pre-commit with pip: `pip install pre-commit`
2525
- In order to use it with the repository, you have to run `run pre-commit install` in the root directory the first time you use it.
2626

27-
When pre-commit is used you may have to run git commit twice,
27+
When pre-commit is used, you may have to run git commit twice,
2828
since pre-commit may make additional changes to your code for styling and will
2929
not commit these changes by default.
3030

@@ -102,15 +102,17 @@ Before the conversion, ensure you have the following:
102102
### YAML File Configuration
103103
In the `templates/redcap2rs.yaml` file, provide the following information:
104104

105-
- **protocol_name**: This is a unique identifier for your protocol. Use underscores for spaces and avoid special characters.
106-
- **protocol_display_name**: The name that will appear in the application.
105+
- **protocol_name**: A unique identifier for your protocol. Use underscores for spaces and avoid special characters.
106+
- **protocol_display_name**: Name that will appear in the application.
107107
- **protocol_description**: A brief description of your protocol.
108+
- **redcap_version**: Version of your redcap file (you can customize it).
108109

109110
Example:
110111
```yaml
111112
protocol_name: "My_Protocol"
112113
protocol_display_name: "Assessment Protocol"
113114
protocol_description: "This protocol is for assessing cognitive skills."
115+
redcap_version: "X.XX.X"
114116
```
115117
### CLI Usage
116118
@@ -119,7 +121,7 @@ The `redcap2reproschema`` function has been integrated into a CLI tool, use the
119121
reproschema redcap2reproschema path/to/your_redcap_data_dic.csv path/to/your_redcap2rs.yaml
120122
```
121123

122-
Optionally you can provide a path to the output directory (defaults is the current directory) by adding option: `--output-path PATH`
124+
Optionally you can provide a path to the output directory (default is the current directory) by adding the option: `--output-path PATH`
123125
### Python Function Usage
124126

125127
You can also use the `redcap2reproschema` function from the `reproschema-py` package in your Python code.
@@ -131,7 +133,7 @@ csv_path = "path-to/your_redcap_data_dic.csv"
131133
yaml_path = "path-to/your_redcap2rs.yaml"
132134
output_path = "path-to/directory_you_want_to_save_output"
133135
134-
reproschema2redcap(csv_file, yaml_file, output_path)
136+
redcap2reproschema(csv_file, yaml_file, output_path)
135137
```
136138

137139
### Notes

0 commit comments

Comments
 (0)