taverna-t2flow 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog.rdoc +2 -2
- data/README.rdoc +1 -1
- data/lib/t2flow/parser.rb +5 -5
- metadata +4 -4
data/ChangeLog.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
= Taverna[http://taverna.sourceforge.net] 2 Interaction Gem
|
2
2
|
|
3
3
|
Authors:: Mannie Tagarira, David Withers
|
4
|
-
Version:: 0.1.
|
4
|
+
Version:: 0.1.6
|
5
5
|
Contact:: mailto:mannie@mygrid.org.uk
|
6
6
|
URL:: http://taverna.sourceforge.net/
|
7
7
|
Licence:: LGPL 3 (See LICENCE or http://www.gnu.org/licenses/lgpl.html)
|
data/lib/t2flow/parser.rb
CHANGED
@@ -223,11 +223,11 @@ module T2Flow
|
|
223
223
|
link.each do |sink_source|
|
224
224
|
case sink_source.name
|
225
225
|
when "sink"
|
226
|
-
datalink.sink = sink_source.child.
|
227
|
-
datalink.sink += ":" + sink_source.last.
|
226
|
+
datalink.sink = sink_source.child.content
|
227
|
+
datalink.sink += ":" + sink_source.last.content if sink_source["type"] == "processor"
|
228
228
|
when "source"
|
229
|
-
datalink.source = sink_source.child.
|
230
|
-
datalink.source += ":" + sink_source.last.
|
229
|
+
datalink.source = sink_source.child.content
|
230
|
+
datalink.source += ":" + sink_source.last.content if sink_source["type"] == "processor"
|
231
231
|
end
|
232
232
|
end
|
233
233
|
|
@@ -250,7 +250,7 @@ module T2Flow
|
|
250
250
|
|
251
251
|
node = LibXML::XML::Parser.string("#{annotation}").parse
|
252
252
|
content_node = node.find_first("//annotationBean")
|
253
|
-
content = content_node.child.child.
|
253
|
+
content = content_node.child.next.content if content_node.child.next
|
254
254
|
|
255
255
|
case content_node["class"]
|
256
256
|
when /freetextdescription/i
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: taverna-t2flow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 6
|
10
|
+
version: 0.1.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Mannie Tagarira
|
@@ -15,7 +15,7 @@ authors:
|
|
15
15
|
autorequire: t2flow
|
16
16
|
bindir: bin
|
17
17
|
cert_chain:
|
18
|
-
date: 2010-07-
|
18
|
+
date: 2010-07-27 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|