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

Provide override option when import generic assay data (for review) #3

Open
wants to merge 385 commits into
base: remove_treatment_implementation
Choose a base branch
from

Conversation

dippindots
Copy link
Owner

Provide override option when import generic assay data

related document updated here.

Changes in this pr:

  1. add Provide override option (updateInfo) when import generic assay data.
  2. log the import results after import
  3. Add one more method in DaoGenericAssay to support update of the entities.

Copy link

@pvannierop pvannierop left a comment

Choose a reason for hiding this comment

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

I am worried by a single hard-coded true in the profile import.

Also, should there not be an update of the importer python script that is related to this new parameter?

@@ -100,7 +100,7 @@ public void run() {
importer.importData();
} else if (geneticProfile.getGeneticAlterationType() == GeneticAlterationType.GENERIC_ASSAY) {
// add all missing `genetic_entities` for this assay to the database
ImportGenericAssayEntity.importData(dataFile, geneticProfile.getGeneticAlterationType(), geneticProfile.getOtherMetaDataField("generic_entity_meta_properties"));
ImportGenericAssayEntity.importData(dataFile, geneticProfile.getGeneticAlterationType(), geneticProfile.getOtherMetaDataField("generic_entity_meta_properties"), true);

Choose a reason for hiding this comment

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

Why do we always overwrite the entities when importing profiles? Should this not be linked to the CLI variable?

@dippindots dippindots force-pushed the remove_treatment_implementation branch from 81d2a1b to f1d5990 Compare December 19, 2019 17:16
@dippindots dippindots force-pushed the override_option_when_import branch 4 times, most recently from 9e26e04 to 3409612 Compare December 20, 2019 16:44
@dippindots dippindots force-pushed the remove_treatment_implementation branch 2 times, most recently from 4ad7a96 to 8875419 Compare December 20, 2019 21:10
@dippindots dippindots force-pushed the override_option_when_import branch 2 times, most recently from ce8dc6a to 86812c4 Compare April 28, 2020 02:02
inodb and others added 5 commits April 29, 2020 19:02
Fix cBioPortal#7442. Publish docker images for each tag on github

Note that we can't reuse the existing master image as proposed in the issue, because the version in the pom is determined on the fly from git i.e. the latest master version shows a different version in the api/info response than a proper tagged version even though the code might be completely the same otherwise.
…-action-docker

Publish tags to docker hub
@dippindots dippindots force-pushed the override_option_when_import branch 2 times, most recently from 790166b to 33f9027 Compare April 30, 2020 21:44
@dippindots dippindots force-pushed the override_option_when_import branch from 33f9027 to 85693e8 Compare May 1, 2020 14:24
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.