genecrmod 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/genecrmod.gemspec +2 -2
- data/lib/genecrmod/gene.rb +9 -7
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a516114aa7662aef0013b3bec05180d9b80affb
|
4
|
+
data.tar.gz: 9ab1ac6f44e2a2d2d050cf1ba0be1aaca50fe84e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86f52dcd50ce8d72ad37a9462c249a9f7d692f268f322d20ce2c0395826520fa2e381b77b89e0ea331f6340db7d8dd8023a0bfdfc41f9048fcffe3cf5b6a1342
|
7
|
+
data.tar.gz: 1c8113f33aae3fa1f16467661a76ca4d99f73c34d0443fe70ca573b293b9d1ad2d9214e81ffbd07a0d72a20dfaa4241acdf0cb27a0f4774a58b1b99556609f93
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.6
|
data/genecrmod.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: genecrmod 0.1.
|
5
|
+
# stub: genecrmod 0.1.6 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "genecrmod"
|
9
|
-
s.version = "0.1.
|
9
|
+
s.version = "0.1.6"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
data/lib/genecrmod/gene.rb
CHANGED
@@ -204,13 +204,15 @@ class CodeRunner
|
|
204
204
|
end
|
205
205
|
|
206
206
|
def get_status
|
207
|
-
if @running
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
207
|
+
if @running
|
208
|
+
if @status != :Queueing
|
209
|
+
get_completed_timesteps
|
210
|
+
if completed_timesteps == 0
|
211
|
+
@status = :NotStarted
|
212
|
+
else
|
213
|
+
@status = :Incomplete
|
214
|
+
end
|
215
|
+
end
|
214
216
|
else
|
215
217
|
get_completed_timesteps
|
216
218
|
if @completed_timesteps == @ntimesteps
|