taverna-t2flow 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -1,7 +1,7 @@
1
1
  = Taverna[http://taverna.sourceforge.net] 2 Interaction Gem
2
2
 
3
- Authors:: Emmanuel Tagarira, David Withers
4
- Version:: 0.1.1
3
+ Authors:: Mannie Tagarira, David Withers
4
+ Version:: 0.1.2
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)
@@ -13,8 +13,6 @@ Copyright:: (c) 2008-2009 University of Manchester, UK
13
13
 
14
14
  This is a Ruby library to support the interaction with Taverna[http://taverna.sourceforge.net] version 2 workflows (T2Flows). This relies on the functionality provided by the libxml library. To be able to utilise this gem to its full potential, you will need to have the following installed on your system.
15
15
  - GraphViz[http://www.graphviz.org/Download.php] (a graph visualization package)
16
- - Rdoc gem
17
- - Darkfish-Rdoc gem
18
16
 
19
17
 
20
18
 
@@ -25,14 +23,8 @@ Much like the Taverna[http://taverna.sourceforge.net] 1 Scufl model, T2Flows con
25
23
 
26
24
 
27
25
  == Installation
28
- To install the gems required by the Taverna 2 gem library, type into your command prompt:
29
- [sudo] gem install libxml-ruby
30
- [sudo] gem install rdoc
31
- [sudo] gem install darkfish-rdoc
32
-
33
- When you have the required gems on your system, you may install this gem using the following commands:
34
- gem sources -a http://gems.github.com
35
- [sudo] gem install mannie-taverna-t2flow
26
+ To install the Taverna 2 gem, type into your command prompt:
27
+ [sudo] gem install taverna-t2flow
36
28
 
37
29
 
38
30
 
data/lib/t2flow/dot.rb CHANGED
@@ -15,8 +15,9 @@ module T2Flow
15
15
  'apiconsumer' => 'palegreen',
16
16
  'beanshell' => 'burlywood2',
17
17
  'biomart' => 'lightcyan2',
18
- 'local' => 'mediumorchid2',
18
+ 'localworker' => 'mediumorchid2',
19
19
  'biomobywsdl' => 'darkgoldenrod1',
20
+ 'biomoby' => 'darkgoldenrod1',
20
21
  'biomobyobject' => 'gold',
21
22
  'biomobyparser' => 'white',
22
23
  'inferno' => 'violetred1',
@@ -25,12 +26,15 @@ module T2Flow
25
26
  'rserv' => 'lightgoldenrodyellow',
26
27
  'seqhound' => '#836fff',
27
28
  'soaplabwsdl' => 'lightgoldenrodyellow',
29
+ 'soaplab' => 'lightgoldenrodyellow',
28
30
  'stringconstant' => 'lightsteelblue',
29
31
  'talisman' => 'plum2',
30
32
  'bsf' => 'burlywood2',
31
33
  'abstractprocessor' => 'lightgoldenrodyellow',
34
+ 'xmlsplitter' => 'gold',
32
35
  'rshell' => 'lightgoldenrodyellow',
33
36
  'arbitrarywsdl' => 'darkolivegreen3',
37
+ 'wsdl' => 'darkolivegreen3',
34
38
  'workflow' => 'crimson'}
35
39
 
36
40
  @@fill_colours = %w{white aliceblue antiquewhite beige}
data/lib/t2flow/parser.rb CHANGED
@@ -230,6 +230,8 @@ module T2Flow
230
230
  end
231
231
 
232
232
  def add_annotation(dataflow, annotation) # :nodoc:
233
+ return if annotation.nil? || annotation.empty?
234
+
233
235
  node = LibXML::XML::Parser.string("#{annotation}").parse
234
236
  content_node = node.find_first("//annotationBean")
235
237
  content = content_node.child.next.content
metadata CHANGED
@@ -1,21 +1,21 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taverna-t2flow
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
- - Emmanuel Tagarira
13
+ - Mannie Tagarira
14
14
  - David Withers
15
15
  autorequire: t2flow
16
16
  bindir: bin
17
17
  cert_chain:
18
- date: 2009-09-16 00:00:00 +01:00
18
+ date: 2010-07-22 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -34,38 +34,6 @@ dependencies:
34
34
  version: 1.1.3
35
35
  type: :runtime
36
36
  version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- name: rdoc
39
- prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- hash: 25
46
- segments:
47
- - 2
48
- - 4
49
- - 3
50
- version: 2.4.3
51
- type: :runtime
52
- version_requirements: *id002
53
- - !ruby/object:Gem::Dependency
54
- name: darkfish-rdoc
55
- prerelease: false
56
- requirement: &id003 !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- hash: 25
62
- segments:
63
- - 1
64
- - 1
65
- - 5
66
- version: 1.1.5
67
- type: :runtime
68
- version_requirements: *id003
69
37
  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.
70
38
  email: mannie@mygrid.org.uk
71
39
  executables: []