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

Incremental update not allowed on CNA_DISCRETE_LONG datatype #74

Open
flelayo opened this issue Feb 17, 2025 · 0 comments
Open

Incremental update not allowed on CNA_DISCRETE_LONG datatype #74

flelayo opened this issue Feb 17, 2025 · 0 comments

Comments

@flelayo
Copy link

flelayo commented Feb 17, 2025

In the documentation, the CNA_DISCRETE_LONG datatype is supported but when running metaImport.py in incremental mode it did not work with this error message:
This type does not support incremental upload: meta_CNA_long

I added the meta_CNA_long to the supported type in the cbioportal_common.py and it seems the import went well and the CNV value where added to the study.

# order is important! This is the order in which they should be loaded:
INCREMENTAL_UPLOAD_SUPPORTED_META_TYPES = [
    MetaFileTypes.PATIENT_ATTRIBUTES,
    MetaFileTypes.SAMPLE_ATTRIBUTES,
    MetaFileTypes.MUTATION,
    MetaFileTypes.MUTATION_UNCALLED,
    MetaFileTypes.EXPRESSION,
    MetaFileTypes.CNA_DISCRETE,
+   MetaFileTypes.CNA_DISCRETE_LONG,
    MetaFileTypes.CNA_CONTINUOUS,
    MetaFileTypes.CNA_LOG2,
    MetaFileTypes.METHYLATION,
    MetaFileTypes.PROTEIN,
    MetaFileTypes.GENERIC_ASSAY_CONTINUOUS,
    MetaFileTypes.GENERIC_ASSAY_BINARY,
    MetaFileTypes.GENERIC_ASSAY_CATEGORICAL,
    MetaFileTypes.TIMELINE,
    MetaFileTypes.GENE_PANEL_MATRIX,
    MetaFileTypes.STRUCTURAL_VARIANT,
    MetaFileTypes.SEG,
]

Can you assure me CNA_DISCRETE_LONG is supported ?

Thanks.

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

No branches or pull requests

1 participant