trinitycrmod 0.6.5 → 0.6.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7f4834c2c89e742e8f530dd631fec3f3b8e21a5a
4
- data.tar.gz: f0551ce2986a4c54c6702c316ace6f0dd2393636
3
+ metadata.gz: 9e806f723897ae7fea3253b2b6f194190df4f0a6
4
+ data.tar.gz: 44ebb54fdf4dcd7357b3250fdc64d3036a9ed799
5
5
  SHA512:
6
- metadata.gz: 7617dd16dfb0ccd092ad0d2dccf497c19f1fdb2ee0bf1f3ab233caad1f1de2bd975aa84d278aba9aecae8d5d92bf05610e20f8fe9b96dde1f28b849737a68650
7
- data.tar.gz: 4b58fac9ce917f3c054eadc71a8a25a71a24db71e48b5f6b6d65bda118c6564d41815257bac07e2359aab3b0871a8ea3663d344b7c631b4462f1bc9f85e8a749
6
+ metadata.gz: d39cf428ee12e70619165a41588f64f98a08cb39751afea93f49bfd9aeae17a85ad63ad99ed0a6444ede11fc47dcfdfa546288e0aeb605e813658621d5c859af
7
+ data.tar.gz: 6f18556a3a5355d8ee8fbf7006d220704c3ebdeb4c916cd83ab0813f9ab8b717378587958376395342dbdefb44aebe42aa2a03c7ebae44c2b1ababb3e8b76623
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.5
1
+ 0.6.6
@@ -336,6 +336,20 @@ class CodeRunner
336
336
  end
337
337
  end
338
338
 
339
+ def watch_calibration_status
340
+ if @flux_option == "gs2"
341
+ command = gs2_runs.map{|r|
342
+ FileTest.exist?(fn="#{r.directory}/#{r.run_name}.out.nc") ?
343
+ "ncdump #{fn} | grep UNLIM" : nil
344
+ }.compact
345
+ command = "watch '#{command.join(' && ')}'"
346
+ puts command
347
+ system command
348
+ else
349
+ raise "watch_calibration_status only implemented for gs2"
350
+ end
351
+ end
352
+
339
353
  def vim_output
340
354
  system "vim -Ro #{output_file} #{error_file} #@directory/#@run_name.error #@directory/#@run_name.out "
341
355
  end
data/trinitycrmod.gemspec CHANGED
@@ -2,16 +2,16 @@
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: trinitycrmod 0.6.5 ruby lib
5
+ # stub: trinitycrmod 0.6.6 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "trinitycrmod"
9
- s.version = "0.6.5"
9
+ s.version = "0.6.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"]
13
13
  s.authors = ["Edmund Highcock"]
14
- s.date = "2015-02-18"
14
+ s.date = "2015-02-20"
15
15
  s.description = "This module allows Trinity, the Multiscale Gyrokinetic Turbulent Transport solver for Fusion Reactors, to harness the power of CodeRunner, a framework for the automated running and analysis of simulations."
16
16
  s.email = "edmundhighcock@sourceforge.net"
17
17
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trinitycrmod
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Edmund Highcock
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-18 00:00:00.000000000 Z
11
+ date: 2015-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coderunner