neurohmmerapp 0.0.6 → 0.0.7

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: 18c55b2ab0582896a23eb102a6de87f58e31eb05
4
- data.tar.gz: b61c33933fe145c99e7c86f2455b5161d07e63d6
3
+ metadata.gz: c6fc147c4ef2c0987b6bccebb9a66725dad4397f
4
+ data.tar.gz: 9d2ad094a7c2734fae1adc40811eece6f48206c6
5
5
  SHA512:
6
- metadata.gz: 3ea6fc3724478b2ac1b5324faf71cde4dafe0c9d06a025c9b22217ce7ea4e303e5701de6eed8a2fca48fdb4b7f87097a475ad2e4219d0bffce0f91fbf9e0cbd2
7
- data.tar.gz: bdc4b3f844e90858edd11e4b8086090bc2b1e93fa3758537cfd731f6085719dc53c7ba82c6ff79e5cb0bd5dcd2941530e61f682ac6dc51ba840c4899dfb37dfa
6
+ metadata.gz: cbedf3a40c6d5ad0bdfd34b1bea1186cd995fb750ef2d20fd73d9f3b7c3a6066be19af8e3a49c81ce97f4c6a3c573f0f2ab63408cec31502f38521718bb96f5d
7
+ data.tar.gz: eee89fb56a2106682cd946c90603f2435abe2a3532fb56c2c9a05121299abec6a96bc2a3f8bf1bc1653e75df46ec5a0b4407d6018de659be9c6d0986cb873a94
@@ -12,7 +12,7 @@ begin
12
12
  Slop.parse!(strict: true, help: true) do
13
13
  banner <<BANNER
14
14
  SUMMARY:
15
- NeuroHmmer - Identify Neuropeptide Precursors
15
+ NeuroHmmer - Identify Neuropeptide Precursors
16
16
 
17
17
  USAGE:
18
18
  $ neurohmmerapp [options]
@@ -115,7 +115,6 @@ BANNER
115
115
 
116
116
  exit!
117
117
 
118
-
119
118
  rescue NeuroHmmerApp::NUM_THREADS_INCORRECT => e
120
119
 
121
120
  puts e
@@ -36,8 +36,6 @@ module NeuroHmmerApp
36
36
 
37
37
  init_binaries
38
38
  init_dirs
39
-
40
- load_extension
41
39
  check_num_threads
42
40
  check_max_characters
43
41
  self
@@ -109,17 +107,6 @@ module NeuroHmmerApp
109
107
  assert_mafft_installed
110
108
  end
111
109
 
112
- def load_extension
113
- return unless config[:require]
114
- config[:require] = File.expand_path config[:require]
115
- unless File.exist?(config[:require]) && File.file?(config[:require])
116
- fail EXTENSION_FILE_NOT_FOUND, config[:require]
117
- end
118
-
119
- logger.debug("Loading extension: #{config[:require]}")
120
- require config[:require]
121
- end
122
-
123
110
  def check_num_threads
124
111
  num_threads = Integer(config[:num_threads])
125
112
  fail NUM_THREADS_INCORRECT unless num_threads > 0
@@ -76,7 +76,7 @@ module NeuroHmmerApp
76
76
  :port => 4567,
77
77
  :host => '0.0.0.0',
78
78
  :public_dir => File.join(Dir.home, '.neurohmmerapp/'),
79
- :max_characters => 'undefined',
79
+ :max_characters => 'undefined'
80
80
  }
81
81
  end
82
82
 
@@ -59,13 +59,6 @@ MSG
59
59
  end
60
60
  end
61
61
 
62
- # Raised if extension file set, but does not exist.
63
- class EXTENSION_FILE_NOT_FOUND < ENOENT
64
- def initialize(ent)
65
- super 'extension file', ent
66
- end
67
- end
68
-
69
62
  ## NUM THREADS ##
70
63
 
71
64
  # Raised if num_threads set by the user is incorrect.
@@ -27,7 +27,7 @@ module NeuroHmmerApp
27
27
  attr_reader :gv_dir, :input_file, :xml_file, :raw_seq, :unique_id, :params
28
28
 
29
29
  # Setting the scene
30
- def init(base_url, params)
30
+ def init(_base_url, params)
31
31
  create_unique_id
32
32
  create_run_dir
33
33
  @params = params
@@ -156,4 +156,4 @@ module NeuroHmmerApp
156
156
  end
157
157
  end
158
158
  end
159
- end
159
+ end
@@ -1,3 +1,3 @@
1
1
  module NeuroHmmerApp
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neurohmmerapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ismail Moghul
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-11-18 00:00:00.000000000 Z
12
+ date: 2015-11-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler