AMP-SCZ / lochness

Download your data to a data lake.
Other
3 stars 1 forks source link

Change REDCAP-->REDCap #33

Open tashrifbillah opened 3 years ago

tashrifbillah commented 3 years ago

The all upper case string occurs only in a few places:

[tb571@rc-predict lochness]$ grep -R REDCAP *
docs/source/data_sources.rst:Within the ``keyring`` file, add a ``REDCAP`` subsection to the primary
docs/source/data_sources.rst:        "REDCAP": {
docs/source/data_sources.rst:Within this new ``REDCAP`` section, add a subsection for each PHOENIX
docs/source/data_sources.rst:        "REDCAP": {
docs/source/data_sources.rst:        "REDCAP": {
docs/source/quick_start.rst:        "REDCAP": {
lochness/redcap/__init__.py:    if 'REDCAP' not in Keyring['lochness']:
lochness/redcap/__init__.py:        raise KeyringError("lochness > REDCAP not found in keyring")
lochness/redcap/__init__.py:    if phoenix_study not in Keyring['lochness']['REDCAP']:
lochness/redcap/__init__.py:        logger.debug(f'lochness > REDCAP > {phoenix_study}'
lochness/redcap/__init__.py:    if redcap_instance not in Keyring['lochness']['REDCAP'][phoenix_study]:
lochness/redcap/__init__.py:        logger.debug(f'lochness > REDCAP > {phoenix_study} '
lochness/redcap/__init__.py:    for project in Keyring['lochness']['REDCAP']\
scripts/lochness_create_template.py:        template_dict['lochness']['REDCAP'] = {}
scripts/lochness_create_template.py:            template_dict['lochness']['REDCAP'][study] = study_dict
tashrifbillah commented 3 years ago

https://github.com/PREDICT-DPACC/lochness/blob/52103a14b8d56019bf25d64247264946435db16a/lochness/redcap/__init__.py#L311-L344