NCBI-Hackathons / Metadata_categorization

A crowdsourcing/expert curation platform for metadata categorization.
Creative Commons Zero v1.0 Universal
5 stars 0 forks source link

Add notes or comments box #11

Closed DCGenomics closed 8 years ago

DCGenomics commented 8 years ago

Not shown by default

lepons commented 8 years ago

there is a solr field for storing this currently called "note"

eweitz commented 8 years ago

@lepons, I don't see a note field in records from the Solr cores annnotation or AnnotationsDev. Could you re-populate at least annotation to include a note field at the individual record level?

From http://localhost:8983/solr/annotation/select?q=taxId%3A9606&wt=json&indent=true:

{
        "queueId":19,
        "id":"895286",
        "taxId":9606,
        "sourceCellLine":"Sample from a human participant in the dbGaP study \"The Cancer Genome Atlas (TCGA)\"",
        "sampleName":"0",
        "sampleTitle":"0",
        "sourceCellType":"0",
        "sourceSpecies":"Homo Sapiens",
        "sourceAnatomy":"0",
        "sourceDisease":"Neoplasms  ",
        "annotCellLine":"0",
        "annotCellType":"0",
        "annotSpecies":"0",
        "annotAnatomy":"0",
        "annotDisease":"0",
        "annotCellTreatment":"0",
        "_version_":1525266325365063680},

From http://localhost:8983/solr/AnnotationsDev/select?q=taxId%3A7227&wt=json&indent=true:

{
        "queueId":460,
        "taxId":7227,
        "id":"182857",
        "sourceCellLine":"Drosophila melanogaster NP5134",
        "sampleName":"0",
        "sampleTitle":"0",
        "sourceCellType":"0",
        "sourceSpecies":"Drosophila melanogaster",
        "sourceAnatomy":"0",
        "sourceDisease":"0",
        "sourceCellTreatment":"0",
        "sourceSex":"0",
        "sourceDevStage":"0",
        "annotCellLine":"0",
        "annotCellType":"0",
        "annotSpecies":"0",
        "annotAnatomy":"0",
        "annotCellTreatment":"0",
        "annotSex":"0",
        "annotDevStage":"0",
        "_version_":1525896004355751936},
eweitz commented 8 years ago

Done per https://github.com/NCBI-Hackathons/Metadata_categorization/commit/e1215408440d5e29a679b98e26d3dd6e3738d7a8 and https://github.com/NCBI-Hackathons/Metadata_categorization/commit/0a4ca03f3e0b43e6f39edf97f11ef6c784759ec7.