coderunner 0.17.4 → 0.17.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,4 +1,16 @@
1
1
  coderunner
2
2
  ==========
3
3
 
4
- 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.
4
+ 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.
5
+
6
+ Coding Style Guide
7
+ ==================
8
+
9
+ These bullet points are taken from here: https://github.com/bbatsov/ruby-style-guide
10
+
11
+ * Indentation is strictly two spaces, i.e. not tabs.
12
+ * Where possible do not exceed 80 columns. This makes the code much more readable.
13
+ * Do not sign your initials when contributing code, this is what revision control is for.
14
+ * Avoid unnecessary comments or inline comments, try to write code which is self documenting or have a short comment preceding your code.
15
+ * Do not use the ';' character to write several statements on one line.
16
+ * If in doubt refer to the style guide.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.17.4
1
+ 0.17.5
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "coderunner"
8
- s.version = "0.17.4"
8
+ s.version = "0.17.5"
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 = "2015-09-10"
12
+ s.date = "2015-09-16"
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", "coderunnerrepo"]
@@ -1182,6 +1182,7 @@ Conditions contain a single = sign: #{conditions}
1182
1182
  @submission_script = @run_class.modify_job_script(self, runs, @submission_script)
1183
1183
  # To get out of job_chain_files folder
1184
1184
  @submission_script = "cd .. \n" + @submission_script
1185
+ @code_run_environment = runs[0].code_run_environment
1185
1186
  old_job_nos = queue_status.scan(/^\s*(\d+)/).map{|match| match[0].to_i}
1186
1187
  ################ Submit the run
1187
1188
  Dir.chdir('job_chain_files'){job_no = execute}
@@ -1238,7 +1239,7 @@ Conditions contain a single = sign: #{conditions}
1238
1239
  end
1239
1240
 
1240
1241
  def code_run_environment
1241
- run_class.new(self).code_run_environment
1242
+ @code_run_environment
1242
1243
  end
1243
1244
 
1244
1245
  def run_command
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.17.4
4
+ version: 0.17.5
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: 2015-09-10 00:00:00.000000000 Z
12
+ date: 2015-09-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: graphkit