~ubuntu-branches/ubuntu/utopic/ctioga2/utopic

« back to all changes in this revision

Viewing changes to lib/ctioga2/plotmaker.rb

  • Committer: Package Import Robot
  • Author(s): Vincent Fourmond
  • Date: 2013-12-27 21:04:22 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20131227210422-a3f0c7alorq6lwq2
Tags: 0.8-1
* New upstream release
* Updated URLs and debian/watch to follow its new location
* Already conforms to standards 3.9.5
* Finally updated VCS URLS

Show diffs side-by-side

added added

removed removed

Lines of Context:
158
158
# displays of rate constants vs potentials)
159
159
module CTioga2
160
160
 
161
 
  Version::register_svn_info('$Revision: 522 $', '$Date: 2013-09-22 12:02:48 +0200 (Sun, 22 Sep 2013) $')
162
 
 
163
161
  # This class is the core of ctioga. It parses the command-line arguments,
164
162
  # reads all necessary files and plots graphs. Most of its functionality
165
163
  # is delegated into classes.
357
355
        fn = path.basename.to_s
358
356
 
359
357
        efn = fn.gsub(/[.\s]/) do |x|
360
 
          "__#{x.ord}__"
 
358
          "__#{x[0].ord}__"
361
359
        end
362
360
 
363
361
        if efn != fn
364
 
          debug { "Mangled name to '#{fn}'"}
 
362
          debug { "Mangled name to '#{efn}'"}
365
363
        end
366
364
 
367
365
        t.def_figure(efn) do