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

429 implement tool to fix mal-formed urls #430

Merged
merged 3 commits into from
Mar 18, 2025

Conversation

mbthornton-lbl
Copy link
Contributor

@mbthornton-lbl mbthornton-lbl commented Mar 14, 2025

This PR provides a command fix-data-object-urls that:

  • Finds DataObjects with mal-formed URLS - in this case including the incorrect path with /ficus/ in the path and:
    • Updates the URL in the DataObject to the correct URL if the data_object_type is not raw sequencing
    • Deletes the URL if the DataObject is raw sequencing
  • validates the updated data_object_set
  • if selected, submit the updated data object set to the metadata:submit endpoint

Successfully tested in the dev environment - verified that the corrected URLs were resolvable

@mbthornton-lbl
Copy link
Contributor Author

@kaijli
Copy link
Contributor

kaijli commented Mar 17, 2025

@mbthornton-lbl can this be merged?

@mbthornton-lbl mbthornton-lbl merged commit bf9d226 into main Mar 18, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

Implement tool to fix mal-formed URLs raw fastq data object files have a url that doesn't resolve
3 participants