NCBI-Hackathons / Metadata_categorization

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

Populate sample name and sample title fields in UI #25

Closed FullyWashable closed 8 years ago

FullyWashable commented 8 years ago

I don't know if these are populated in the core, but they are empty in the actual app right now.

eweitz commented 8 years ago

@lepons, I won't have easy access to the annotation Solr core until tonight, but if I recall correctly, sample name and sample title are not populated there. Could you populate those fields?

lepons commented 8 years ago

Looking at the annotation Solr core, I see that there are samples that have sampleName and sampleTitle populated:

There are about 3420 or so samples with sampleName and maybe 114 with sampleTitle populated, and it's consistent with what's in AnnotationsDev. So I think the data is consistent with what was pulled from BioSample, it's just that field is frequently missing.

[image: Inline image 1]

[image: Inline image 2]

On Tue, Mar 1, 2016 at 1:35 PM, Eric Weitz notifications@github.com wrote:

@lepons https://github.com/lepons, I don't have easy access to the annotation Solr core, but if I recall correctly, sample name and sample title are not populated there. Could you populate those fields?

— Reply to this email directly or view it on GitHub https://github.com/NCBI-Hackathons/Metadata_categorization/issues/25#issuecomment-190845148 .

eweitz commented 8 years ago

OK, thanks for the correction. I'll update the web backend and UI to pull in those values from the Solr datastore.

eweitz commented 8 years ago

It turns out that sample name and sample title are already populated in the UI, as well. As @lepons notes, only a very small fraction of records have values for these fields in the underlying Solr core. So if this is an issue, it seems to be with the underlying BioSample data.

If on our network and tunneled into the Solr core on EC2, here's how to verify things are working as expected:

Sample name

Sample title

Given this, I'll close this ticket for now. The underlying BioSample data issue may warrant more investigation, but that seems like a separate issue, as the data is being populated in the UI.