seqtrimnext 2.0.38 → 2.0.39

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 2.0.39 2011-07-07
2
+
3
+ Fixed database list option
4
+
1
5
  === 2.0.38 2011-07-07
2
6
 
3
7
  Optional Initial Stats generation in templates
data/bin/seqtrimnext CHANGED
@@ -237,12 +237,12 @@ optparse = OptionParser.new do |opts|
237
237
  options[:qual] = file
238
238
  end
239
239
 
240
-
241
-
242
240
  options[:list_db] = nil
241
+ options[:list_db_name] = 'ALL'
242
+
243
243
  opts.on( '-L', '--list_db [DB_NAME]', 'List entries IDs in DB_NAME. Use "-L all" to view all available databases' ) do |value|
244
244
  options[:list_db] = true
245
- options[:list_db_name] = value
245
+ options[:list_db_name] = value if value
246
246
  end
247
247
 
248
248
  options[:gen_params] = false
@@ -280,7 +280,7 @@ optparse.parse!
280
280
 
281
281
  if options[:list_db] then
282
282
  # List database entries in a database
283
- ListDb.new($DB_PATH,options[:list_db])
283
+ ListDb.new($DB_PATH,options[:list_db_name])
284
284
  exit
285
285
  end
286
286
 
data/lib/seqtrimnext.rb CHANGED
@@ -30,7 +30,7 @@ module Seqtrimnext
30
30
  # SEQTRIM_VERSION_STAGE = 'b'
31
31
  # SEQTRIM_VERSION = "2.0.0#{SEQTRIM_VERSION_STAGE}#{SEQTRIM_VERSION_REVISION}"
32
32
 
33
- VERSION = '2.0.38'
33
+ VERSION = '2.0.39'
34
34
 
35
35
  SEQTRIM_VERSION = VERSION
36
36
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: seqtrimnext
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.0.38
5
+ version: 2.0.39
6
6
  platform: ruby
7
7
  authors:
8
8
  - Dario Guerrero & Almudena Bocinos