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

Remove HTML tags from fields when generating dbGaP XML files #20

Open
gaurav opened this issue Feb 5, 2025 · 1 comment
Open

Remove HTML tags from fields when generating dbGaP XML files #20

gaurav opened this issue Feb 5, 2025 · 1 comment

Comments

@gaurav
Copy link
Collaborator

gaurav commented Feb 5, 2025

At the moment, fields containing HTML tags are passed into dbGaP XML files unchanged (e.g. "1, Yes <b><i> [Complete QC2a-d]</i></b> | 0, No <b><i> [Form complete]</i></b> | 99, Unknown <b><i> [Form complete]</i></b>"), but some tags (e.g. <font>) may interfere with annotation or display. I'm not sure if Roger cleans that up, or if that's something we need to fix here.

@gaurav gaurav added this to the Complete HEAL MDS Ingest milestone Feb 5, 2025
@gaurav
Copy link
Collaborator Author

gaurav commented Feb 12, 2025

It looks like these are stripped out during ingest into the HEAL Platform MDS (certainly the example included in this issue, which is https://healdata.org/mds/metadata/HDPDD00008, doesn't have the tags). A bit more investigation would be useful to figure out where that is happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant