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

Berkeley schema ingest #1295

Merged
merged 13 commits into from
Aug 7, 2024
Merged

Commits on Aug 7, 2024

  1. Only pass necessary info to upsert_doi

    New slots were added to NMDC schema that breaks our current usage of the
    function.
    naglepuff committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    73f629b View commit details
    Browse the repository at this point in the history
  2. Update connection from sample to study

    NMDC schema changed the slot that links a Biosample to a study.
    Previously the relationship was contained in the `part_of` slot on class
    `Biosample`. That slot has been renamed to `associated_studies`. Also,
    temporarily disable the backup link through omics_processing, as that
    relationship has changed in a more complex way.
    naglepuff committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    9a12b00 View commit details
    Browse the repository at this point in the history
  3. Don't use omics_processing during sample ingest

    This isn't necessary since `associated_studies` is required and has
    cardinality of 1..*.
    naglepuff committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    8faddfc View commit details
    Browse the repository at this point in the history
  4. Update ingest for data_generation objects

    Formerly known as omics_procecssing records, there were some small
    schema tweaks that needed to be reflected in ingest. Note how the
    process of obtaining input biosamples is simpler since we now only need
    to query one collection of processes. This is a result of the change in
    database structure that puts related objects into the same collection.
    naglepuff committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    86374a5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d7e6074 View commit details
    Browse the repository at this point in the history
  6. Add default value for used

    Note that this should be updated in the SQL schema to be
    optional/nullable.
    naglepuff committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    1e4480e View commit details
    Browse the repository at this point in the history
  7. Extract instrument name from instrument collection

    Note that in the future we might want to make instrument a fully
    fledged model in our database.
    naglepuff committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    078372e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    34b9e5e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    dbe2836 View commit details
    Browse the repository at this point in the history
  10. Remove unnecessary comment

    naglepuff committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    d85741a View commit details
    Browse the repository at this point in the history
  11. Remove unused imports

    naglepuff committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    7fb532b View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b203486 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    d117b81 View commit details
    Browse the repository at this point in the history