Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] Data retrieving not stable.

Vincent Emonet vincent.emonet at lirmm.fr
Thu Dec 8 06:15:08 PST 2016


Hi,

I am experiencing some troubles with the consistency of the data model

I am trying to get a Slice (acronym is lovinra)

  * This slice exists:

You can see it here http://data.stageportal.lirmm.fr/slices

And when I run the following to get all the slices:

slices = 
LinkedData::Models::Slice.where.include(LinkedData::Models::Slice.attributes(:all)).all

One of the slices returned is lovinra:

#<LinkedData::Models::Slice:0x007fe666f03670
   @acronym="lovinra",
   @aggregates=nil,
   @created=#<DateTime: 2016-03-23T14:41:16+01:00 
((2457471j,49276s,0n),+3600s,2299161j)>,
   @description=

  * But when retrieving it using "find"

slice = 
LinkedData::Models::Slice.find("lovinra").include(LinkedData::Models::Slice.attributes(:all)).first

It returns nil.

If I try to find another slice acronym (cismef for example) I get the 
slice object.



Note that I run those command using bin/ncbo_cron --console
With security disabled in CRON config.

Do you have an idea where this come from?


Thanks!

Vincent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/bioontology-support/attachments/20161208/da94ba61/attachment.html>


More information about the bioontology-support mailing list