taverna-t2flow 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.rdoc +4 -0
- data/README.rdoc +1 -1
- data/Rakefile +1 -1
- data/lib/t2flow/parser.rb +12 -4
- data/taverna-t2flow.gemspec +2 -2
- metadata +4 -4
data/CHANGES.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
= Taverna[http://taverna.sourceforge.net] 2 Interaction Gem
|
2
2
|
|
3
|
-
Authors:: Robert Haines, Mannie Tagarira, David Withers
|
3
|
+
Authors:: Finn Bacall, Robert Haines, Mannie Tagarira, David Withers
|
4
4
|
Contact:: mailto:support@mygrid.org.uk
|
5
5
|
URL:: http://www.taverna.org.uk/
|
6
6
|
Licence:: LGPL 3 (See LICENCE or http://www.gnu.org/licenses/lgpl.html)
|
data/Rakefile
CHANGED
data/lib/t2flow/parser.rb
CHANGED
@@ -175,13 +175,21 @@ module T2Flow
|
|
175
175
|
datalink = Datalink.new
|
176
176
|
|
177
177
|
if sink = link.find_first('./t2:sink')
|
178
|
-
|
179
|
-
|
178
|
+
if sink["type"] == "processor" || sink["type"] == "merge"
|
179
|
+
datalink.sink = "#{sink.find_first('./t2:processor').content}:"
|
180
|
+
else
|
181
|
+
datalink.sink = ""
|
182
|
+
end
|
183
|
+
datalink.sink += "#{sink.find_first('./t2:port').content}"
|
180
184
|
end
|
181
185
|
|
182
186
|
if source = link.find_first('./t2:source')
|
183
|
-
|
184
|
-
|
187
|
+
if source["type"] == "processor" || source["type"] == "merge"
|
188
|
+
datalink.source = "#{source.find_first('./t2:processor').content}:"
|
189
|
+
else
|
190
|
+
datalink.source = ""
|
191
|
+
end
|
192
|
+
datalink.source += "#{source.find_first('./t2:port').content}"
|
185
193
|
end
|
186
194
|
|
187
195
|
dataflow.datalinks << datalink
|
data/taverna-t2flow.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "taverna-t2flow"
|
8
|
-
s.version = "0.4.
|
8
|
+
s.version = "0.4.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Finn Bacall", "Robert Haines", "David Withers", "Mannie Tagarira"]
|
12
|
-
s.date = "
|
12
|
+
s.date = "2013-01-07"
|
13
13
|
s.description = "This a gem developed by myGrid for the purpose of interacting with Taverna 2 workflows. An example use would be the image genaration for the model representing Taverna 2 workflows as used in myExperiment."
|
14
14
|
s.email = ["finn.bacall@cs.man.ac.uk", "rhaines@manchester.ac.uk"]
|
15
15
|
s.extra_rdoc_files = [
|
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: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 1
|
10
|
+
version: 0.4.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Finn Bacall
|
@@ -18,7 +18,7 @@ autorequire:
|
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
20
|
|
21
|
-
date:
|
21
|
+
date: 2013-01-07 00:00:00 Z
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|
24
24
|
prerelease: false
|