openbel-api 1.2.8-java → 1.2.9-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7476401d7e5a89338f83a7bc218c4e81684e5ba2
4
- data.tar.gz: b88fe4f650867ee488cf7d9b37f5951a8063341b
3
+ metadata.gz: 4c8421fd0a53f17904f2f77bb09b4099d637cebc
4
+ data.tar.gz: 0750ffc21d94c9604432437a2d9422ba074dd101
5
5
  SHA512:
6
- metadata.gz: 3d296233b5a560807494fb12ea6ca5ce04f042bdb48f3b7c26f7ae0ef8e22cdabe4c8a02e6efccf011690d85c1cd030e9aacd20a27370e0f0e47bf3ec04c71ea
7
- data.tar.gz: e29eb850020ce59dca864b2384c7a68c4aa9e4768024948566cc4385d0cef9155570d42711453f200533c8483126e5ff9b877d3bbb6816b29ba9b323b319d660
6
+ metadata.gz: 735d8e7f79cd17d2315cf9d7635970aa6f87ebb24741e14336a511ef00d77eb6047ab0ed9b691cefbfe8cacb87c4f98dbe8bb59b40d980736384621003b1cf55
7
+ data.tar.gz: 16de6656ae08a09b39e0d73da033c7f4caca37373125a3fdb86bf2429890ef935146bfa26beeb15ddcfdeebf90796ace5b65ada47c6f3d7ad050eea418fcd38a
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.8
1
+ 1.2.9
@@ -321,6 +321,7 @@ module OpenBEL
321
321
  end
322
322
 
323
323
  original_bel_statement = nanopub_hash[:bel_statement]
324
+ STDERR.puts "DBG: Variable config is #{original_bel_statement.inspect}"
324
325
 
325
326
  begin
326
327
  nanopub = ::BEL::Nanopub::Nanopub.create(nanopub_hash)
@@ -337,9 +338,10 @@ module OpenBEL
337
338
 
338
339
  facets = map_nanopub_facets(nanopub)
339
340
  nanopub = nanopub.to_h
340
- nanopub[:bel_statement] = nanopub.fetch(:bel_statement, nil).to_s
341
+ nanopub[:bel_statement] = original_bel_statement.to_s
341
342
  nanopub[:facets] = facets
342
343
 
344
+ STDERR.puts "DBG: Variable config is #{nanopub.inspect}"
343
345
  @api.update_nanopub_by_id(object_id, nanopub)
344
346
 
345
347
  status 202
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openbel-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.8
4
+ version: 1.2.9
5
5
  platform: java
6
6
  authors:
7
7
  - Anthony Bargnesi