myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [3666] branches/packs/app/models/research_object.


From: noreply
Subject: [myexperiment-hackers] [3666] branches/packs/app/models/research_object.rb: fixed issue with select verifier not ignoring bnodes
Date: Tue, 3 Sep 2013 14:52:45 +0000 (UTC)

Revision
3666
Author
dgc
Date
2013-09-03 14:52:45 +0000 (Tue, 03 Sep 2013)

Log Message

fixed issue with select verifier not ignoring bnodes

Modified Paths

Diff

Modified: branches/packs/app/models/research_object.rb (3665 => 3666)


--- branches/packs/app/models/research_object.rb	2013-09-03 14:37:24 UTC (rev 3665)
+++ branches/packs/app/models/research_object.rb	2013-09-03 14:52:45 UTC (rev 3666)
@@ -648,6 +648,10 @@
 
     return true unless symbol.kind_of?(Symbol)
 
+    # Ignore blank nodes.
+
+    return true if template["bnodes"] && template["bnodes"].include?(symbol)
+
     # Find parameter.
 
     parameter = template["parameters"].find { |p| p["symbol"] == symbol }

reply via email to

[Prev in Thread] Current Thread [Next in Thread]