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

MagsAnalysis import automation when no bins present #276

Open
aclum opened this issue Oct 18, 2024 · 0 comments
Open

MagsAnalysis import automation when no bins present #276

aclum opened this issue Oct 18, 2024 · 0 comments
Labels

Comments

@aclum
Copy link
Contributor

aclum commented Oct 18, 2024

There can be multiple reasons why an import directory would not have any bins

  1. JGI binning pipeline was not run
  2. JGI binning pipeline was run and produced no MQ or HQ bins
  3. issues with display b/c of embargo dates, etc such that the data exists but is not showing in JDP
  4. data is available in JDP but there was an issue with data transfer

Current code would not make a MagsAnalysis record, NMDC automation would trigger to run this task.

In case 2 the desired behavior would to make a MagsAnalysis record with qc_status: fail, has_failure_categorization:[{qc_failure_what: no_valid_data_generated, qc_failure_where: MagsAnalysis}]

There is no way to tell b/w the use cases without querying internal JGI databases.

@aclum aclum added the import label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant