Skip to content

Commit

Permalink
Merge branch 'development' into stage
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Jan 12, 2024
2 parents c0da72b + 2cabca4 commit a8aaedf
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
14 changes: 7 additions & 7 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ GIT

GIT
remote: https://github.com/ontoportal-lirmm/goo.git
revision: 6187c205a1310c2f8a72fe8e07fcf99477060fa9
branch: development
revision: 03da25b671d2ffa515b5dce51c6bd35980ae60c7
branch: master
specs:
goo (0.0.2)
addressable (~> 2.8)
Expand All @@ -37,7 +37,7 @@ GIT

GIT
remote: https://github.com/ontoportal-lirmm/ncbo_cron.git
revision: 53ad701ab840ba43dbde0f13b7a883f234825183
revision: 155db7a33794f03858893d2367cb119f27726a31
branch: master
specs:
ncbo_cron (0.0.1)
Expand All @@ -53,8 +53,8 @@ GIT

GIT
remote: https://github.com/ontoportal-lirmm/ontologies_linked_data.git
revision: d5af89ba5563cbd9bfc06c51a8330015dd737614
branch: development
revision: e98b884999e5ce917a8be5fdc37f7b4797a1559e
branch: master
specs:
ontologies_linked_data (0.0.1)
activesupport
Expand Down Expand Up @@ -220,7 +220,7 @@ GEM
multipart-post (2.3.0)
mutex_m (0.2.0)
net-http-persistent (2.9.4)
net-imap (0.4.9)
net-imap (0.4.8)
date
net-protocol
net-pop (0.1.2)
Expand Down Expand Up @@ -407,4 +407,4 @@ DEPENDENCIES
webmock

BUNDLED WITH
2.3.15
2.3.23
3 changes: 2 additions & 1 deletion controllers/analytics_controller.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require 'csv'
class AnalyticsController < ApplicationController

class OntologyAnalyticsController < ApplicationController

##
# get all ontology analytics for a given year/month combination
Expand Down
4 changes: 3 additions & 1 deletion test/controllers/test_ontology_analytics_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,9 @@ def self.before_suite
puts " This test cannot be run because there #{db_size} redis entries (max #{MAX_TEST_REDIS_SIZE}). You are probably pointing to the wrong redis backend. "
return
end
@@redis.set(LinkedData::Models::Ontology::ONTOLOGY_ANALYTICS_REDIS_FIELD, Marshal.dump(ANALYTICS_DATA))

stringy_keys = ANALYTICS_DATA.transform_values{|year| year.map{|k,v| [k.to_s , v.stringify_keys]}.to_h}
@@redis.set(LinkedData::Models::Ontology::ONTOLOGY_ANALYTICS_REDIS_FIELD, Marshal.dump(stringy_keys))
@@onts = {
"NCIT" => "NCIT Ontology",
"ONTOMA" => "ONTOMA Ontology",
Expand Down
1 change: 1 addition & 0 deletions views/documentation/documentation.haml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@
%li include={prefLabel, synonym, definition, notation, cui, semanticType} // default = (see Common Parameters section)
%li page={integer representing the page number} // default = 1
%li pagesize={integer representing the size of the returned page} // default = 50
%li language={an ISO 639-1 language value, e.g 'fr' or 'en'} // by default search in all languages
%h4#nav_search_subtree Subtree Search
Expand Down

0 comments on commit a8aaedf

Please sign in to comment.