iroki 0.0.23 → 0.0.24

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: 1c6f8d957d1f522e51f7070666afcac8ee25bfa2
4
- data.tar.gz: 052de7353e12c6149410931cd6589b4c875fd62c
3
+ metadata.gz: d8c25d56c48df6641fe6617ca2ada16ec5f54ee5
4
+ data.tar.gz: b69c7f8daab4f9cf8ddd74cf40b7d5db35c11bff
5
5
  SHA512:
6
- metadata.gz: dde09df45a71f9184c3a7cef3d3d8a76d0aa72cf5ae02f692d071ffe0bc9ecd9c465362caf1f0f501cb40604e275911929b61ce3f27f885ba797a5a5386b70ea
7
- data.tar.gz: c55c189ebe6a40249382dcef2511158367e1b0758f1261502295639968fccbeeb4c207bc6c243f928c7985f3816df3570271bd513d80fdcea9b14fa50736f936
6
+ metadata.gz: b3ed154d715e49ddbc26f70190128d8c750a55b52d6cbe2495e41c08fe1e1ceaf9f57212339234bce7d2f2445c858a3992f755c89e31e9eda99323200cdd77be
7
+ data.tar.gz: 2288dbaa4f77a9f4f9efef92d0cd1237e32c29eee9c357bf0c1d8044dc9ab7d7e8234797e399c24672d993c4a3f89bfb015ee05ab90da294ae96d3e4314b8b81
data/README.md CHANGED
@@ -176,3 +176,7 @@ Add `reorder_nodes` script.
176
176
  ### 0.0.23 ###
177
177
 
178
178
  - `Iroki::Main::main` returns the nexus string (for `iroki.net`)
179
+
180
+ ### 0.0.24 ###
181
+
182
+ - Add `Iroki::Main::iroki_job` runs Iroki w/o needing an output file (for `iroki.net`)
@@ -137,6 +137,39 @@ end
137
137
 
138
138
  module Iroki
139
139
  module Main
140
+ def self.iroki_job(color_branches: nil,
141
+ color_taxa_names: nil,
142
+ exact: nil,
143
+ remove_bootstraps_below: nil,
144
+ color_map_f: nil,
145
+ biom_f: nil,
146
+ single_color: nil,
147
+ name_map_f: nil,
148
+ auto_color: nil,
149
+ display_auto_color_options: nil,
150
+ newick_f: nil)
151
+
152
+ begin
153
+ out_f = Tempfile.new
154
+
155
+ self.main(color_branches: color_branches,
156
+ color_taxa_names: color_taxa_names,
157
+ exact: exact,
158
+ remove_bootstraps_below: remove_bootstraps_below,
159
+ color_map_f: color_map_f,
160
+ biom_f: biom_f,
161
+ single_color: single_color,
162
+ name_map_f: name_map_f,
163
+ auto_color: auto_color,
164
+ display_auto_color_options: display_auto_color_options,
165
+ newick_f: newick_f,
166
+ out_f: out_f)
167
+ ensure
168
+ out_f.close
169
+ out_f.unlink
170
+ end
171
+ end
172
+
140
173
  def self.main(color_branches: nil,
141
174
  color_taxa_names: nil,
142
175
  exact: nil,
@@ -18,7 +18,7 @@
18
18
 
19
19
  # Library metadata
20
20
  module Iroki
21
- VERSION = "0.0.23"
21
+ VERSION = "0.0.24"
22
22
  COPYRIGHT = "2015 - 2016 Ryan Moore"
23
23
  CONTACT = "moorer@udel.edu"
24
24
  WEBSITE = "https://github.com/mooreryan/iroki"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iroki
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.23
4
+ version: 0.0.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Moore
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-09 00:00:00.000000000 Z
11
+ date: 2016-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler