Skip to content

Commit f9623d5

Browse files
committed
remove extra space
1 parent 7f0791e commit f9623d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reproschema/redcap2reproschema.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def process_input_value_types(input_type_rc, value_type_rc) -> (str, str):
7676
value_type = "xsd:string"
7777

7878
return input_type, value_type
79-
return input_type, value_type
79+
8080
def process_response_options(row, input_type_rc, value_type) -> Dict[str, Any]:
8181
"""
8282
Process response options from the row and return a dictionary of response options
@@ -98,7 +98,7 @@ def process_response_options(row, input_type_rc, value_type) -> Dict[str, Any]:
9898
{"name": {"en": "Yes"}, "value": 1},
9999
{"name": {"en": "No"}, "value": 0},
100100
]
101-
elif input_type_rc == "truefalse": # Add this condition
101+
elif input_type_rc == "truefalse":
102102
response_options["choices"] = [
103103
{"name": {"en": "True"}, "value": 1},
104104
{"name": {"en": "False"}, "value": 0},

0 commit comments

Comments
 (0)