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

[BIOMAGE-1494] - Migration to add prefiltered attribute #191

Merged
merged 1 commit into from
Oct 11, 2021

Conversation

aerlaut
Copy link
Contributor

@aerlaut aerlaut commented Oct 7, 2021

Background

Link to issue

https://biomage.atlassian.net/browse/BIOMAGE-1494

Link to staging deployment URL

In UI PR

Links to any Pull Requests related to this

UI - hms-dbmi-cellenics/ui#528
API - hms-dbmi-cellenics/api#242
Pipeline - hms-dbmi-cellenics/pipeline#178
IAC Migration - #191

Anything else the reviewers should know about the changes here

Changes

Code changes

Definition of DONE

Your changes will be ready for merging after each of the steps below have been completed:

Testing

  • Unit tests written
  • Tested locally with Inframock (with latest production data downloaded with biomage experiment pull)
  • Deployed to staging

To set up easy local testing with inframock, follow the instructions here: https://github.com/biomage-ltd/inframock
To deploy to the staging environment, follow the instructions here: https://github.com/biomage-ltd/biomage-utils

Documentation updates

Is all relevant documentation updated to reflect the proposed changes in this PR?

  • Relevant Github READMEs updated
  • Relevant wiki pages created/updated

Approvers

  • Approved by a member of the core engineering team
  • (UX changes) Approved by vickymorrison (this is her username, tag her if you need approval)

Just before merging:

Optional

  • Photo of a cute animal attached to this PR

Comment on lines +17 to +20
if(!Object.prototype.hasOwnProperty.call(record.processingConfig?.classifier, 'enabled')) {
console.log(`${record.experimentId} skipped as it does not contain the right processingConfig schema`)
return callback();
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does that actually happen? Are there experiments that don't have the right processingConfig schema?

Copy link
Contributor Author

@aerlaut aerlaut Oct 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, there are experiments that do not have processingConfig schema. Most are experiments that never run but does not get deleted (processingConfig is empty). Some does not have enabled in them, and that means they're old experiments.

@aerlaut aerlaut merged commit b488783 into master Oct 11, 2021
@aerlaut aerlaut deleted the classifier-prefiltered-migration branch October 11, 2021 09:14
cosa65 pushed a commit that referenced this pull request Jul 19, 2023
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.

2 participants