coderunner 0.11.9 → 0.11.10
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/coderunner.gemspec +2 -2
- data/lib/coderunner/run.rb +16 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.11.
|
1
|
+
0.11.10
|
data/coderunner.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "coderunner"
|
8
|
-
s.version = "0.11.
|
8
|
+
s.version = "0.11.10"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Edmund Highcock"]
|
12
|
-
s.date = "2012-11-
|
12
|
+
s.date = "2012-11-13"
|
13
13
|
s.description = "CodeRunner is a framework for the automated running and analysis of simulations. It automatically generates any necessary input files, organises the output data and analyses it. Because it is a modular system, it can easily be customised to work with any system and any simulation code. One of its greatest strengths is that it is independent of any one simulation code; thus it can easily plot and compare the data from different codes."
|
14
14
|
s.email = "edmundhighcock@sourceforge.net"
|
15
15
|
s.executables = ["coderunner"]
|
data/lib/coderunner/run.rb
CHANGED
@@ -249,9 +249,24 @@ def process_directory
|
|
249
249
|
#run_heuristic_analysis
|
250
250
|
#end
|
251
251
|
#end
|
252
|
+
begin
|
253
|
+
read_info
|
254
|
+
rescue Errno::ENOENT => err # No code runner files were found
|
255
|
+
unless @runner.heuristic_analysis
|
256
|
+
puts err
|
257
|
+
raise CRFatal.new("No code runner files found: suggest using heuristic analysis (flag -H if you are using the code_runner script)")
|
258
|
+
end
|
259
|
+
unless @runner.current_request == :traverse_directories
|
260
|
+
@runner.requests.push :traverse_directories unless @runner.requests.include? :traverse_directories
|
261
|
+
raise CRMild.new("can't begin heuristic analysis until there has been a sweep over all directories") # this will get rescued
|
262
|
+
end
|
263
|
+
@runner.increment_max_id
|
264
|
+
@id = @runner.max_id
|
265
|
+
@job_no = -1
|
266
|
+
run_heuristic_analysis
|
267
|
+
end
|
252
268
|
|
253
269
|
|
254
|
-
read_info
|
255
270
|
begin
|
256
271
|
read_results if FileTest.exist? 'code_runner_results.rb'
|
257
272
|
rescue NoMethodError, SyntaxError => err
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coderunner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.10
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-11-
|
12
|
+
date: 2012-11-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: graphkit
|