Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add survey fix views and adapt code for re-consenting participants #50

Merged
merged 9 commits into from
Jan 23, 2025
Prev Previous commit
Next Next commit
added comment for context
sid4py committed Jan 13, 2025
commit caf5778ada55faaa9a82d53883e86b8ae128c51c
6 changes: 6 additions & 0 deletions neurobooth_terra/redcap.py
Original file line number Diff line number Diff line change
@@ -153,6 +153,12 @@ def extract_field_annotation(s):
if pd.isna(field_annot):
return s

# field annotations are generally separated by a space
# But special annotations that are function or action tags
# in redcap speak have a syntax and cannot have other
# annotations following them separated by space.
# Those have to go in the next line.
# This replace handles those cases
field_annot.replace("\n"," ")
fields = field_annot.split(' ')
fois = list()