joebowen / model_completion_dashboard

Model Completion Dashboard
0 stars 7 forks source link

Unable to recieve meaningful parameters from Evidence #8

Open joebowen opened 8 years ago

joebowen commented 8 years ago

https://github.com/joebowen/model_completion_dashboard/blob/master/pyopenworm/views.py#L140

The EVIDENCE_DICT dictionary at line 140 ends up with 5 entries that each look like:

'0': {'author': [],
   'completeness': '#2B7558',
   'doi': [],
   'pmid': [],
   'title': [u'C. elegans sqlite database', u'neurons.csv'],
   'uri': [u'http://www.wormatlas.org/neuronalwiring.html#Connectivitydata',
           u'http://www.wormatlas.org/celllist.htm'],
   'wormbaseid': [],
   'year': []}

Is there a better way to get each evidence's parameters other than the format of?

list(evidence.<PARAM>.get())

Or is this the correct data for each of the 5 pieces of evidence in PyOpenWorm currently and they just haven't been fully populated?

mwatts15 commented 8 years ago

That's generally the way to do it in PyOpenWorm and based on the most recent development, theere is more evidence to present.