Skip to content

Two more ideas for duplicate arm clean up #128

@tashrifbillah

Description

@tashrifbillah

clean_old_arm.py


(1)

  • read all JSONs
  • if screening_arm_1 and 2 exists, then it has duplicate
  • find which arm has chrcrit_part, that is the latest arm
  • mark the other as duplicate
  • delete it
  • set the corresponding bit in dhash for re-download and re-shift
  • no need to maintain dclean

(2)

  • read all JSONs
  • if screening_arm_1 and 2 exists, then it has duplicate
  • read the informed_consent_run_sheet csv
  • find group value in latest consent row, regardless of parent, guardian
  • keep that arm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions