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

239 update import logic to update omicsprocessing record #274

Merged

Conversation

mbthornton-lbl
Copy link
Contributor

@mbthornton-lbl mbthornton-lbl commented Oct 16, 2024

This PR provides updated to import automation to:

  • create a sequencing DataObject and update the has_output list of the Data Generation
  • ensure imported DataObjects and WorkflowExecution records pass validation w/ nmdc-schema before submission
  • rewrite of the run_import.py script

Includes updates to tests and test fixtures

@mbthornton-lbl mbthornton-lbl linked an issue Oct 16, 2024 that may be closed by this pull request
@turbomam
Copy link
Member

turbomam commented Oct 16, 2024

Thanks, @mbthornton-lbl . I haven't thought about this issue/PR much, so let me know if I'm missing the point!

How did you decide to construct record dictionaries instead of instantiating classes from the schema?

@turbomam
Copy link
Member

Maybe that's just in the tests!

@turbomam
Copy link
Member

Sorry, I'm not being very helpful here.

I don't see the "null", None, [], "" stripper in the files changed, suggested by https://nmdc-group.slack.com/archives/C05ASAQ1FM1/p1729091945783829

tests/test_imports.py Outdated Show resolved Hide resolved
tests/nmdc_materialized.yaml Outdated Show resolved Hide resolved
tests/test_imports.py Outdated Show resolved Hide resolved
@mbthornton-lbl mbthornton-lbl requested a review from aclum October 25, 2024 20:21
@mbthornton-lbl mbthornton-lbl merged commit c87b294 into main Oct 28, 2024
1 check passed
@mbthornton-lbl mbthornton-lbl deleted the 239-update-import-logic-to-update-omicsprocessing-record branch October 28, 2024 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants