AMP-SCZ / utility

Storehouse for all utility scripts
Apache License 2.0
0 stars 4 forks source link

Removal of AD site was faltering PRESCIENT data flow #98

Open tashrifbillah opened 10 months ago

tashrifbillah commented 10 months ago
clean_old_arm.py
down_mgb_redcap_records.py
shift_redcap_dates.py

All programs were failing because they were not built to deal with the unlikely case of a JSON file. AD site's data have been removed from multiple places: PRESCIENT, NDA, predict1.

For now, we are deleting AD site's rows from date_offset.csv. If issue persists, we should include a condition for absent JSON file in the following:

https://github.com/AMP-SCZ/utility/blob/e895f8b27d55346a04cf0c35acf6040340888430/down_mgb_redcap_records.py#L54

https://github.com/AMP-SCZ/utility/blob/e895f8b27d55346a04cf0c35acf6040340888430/shift_redcap_dates.py#L72

tashrifbillah commented 10 months ago

https://github.com/AMP-SCZ/utility/commit/6fbdff4c0fae235d2f4b0d4ebf024ade46546bd8

tashrifbillah commented 10 months ago

Courtesy notification for @kcho . Thank you.