edfize 0.1.0.beta3 → 0.1.0.beta4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 66faa96463f7845c7d3216c16b6d71dfedaf5a47
4
- data.tar.gz: 835ab39c4653438fbebeb739b3330e160606b3ff
3
+ metadata.gz: bf57ae39549201b68a9a8ac9f1f71e9528537fc7
4
+ data.tar.gz: 4c5f193d9bef76f1ca9b3103f49cf225a02108f1
5
5
  SHA512:
6
- metadata.gz: 4bb06a14848520c8f1245731bee2ddabc66308628b5a7ffcee722afab44b52153fbbb27aa53bf7e8cd5b13781fc0d1d02aed7a3288688d9215d9c770aec98ea2
7
- data.tar.gz: 0307a0be76a76bce43a328d1c5dd7049db317c09d896d3f3b7731ba62f32932df5c4cb87ea1d7e656f16c9d61fc446c08b44098e7c2845215c9fb324c7802882
6
+ metadata.gz: e9ba85f2dc77f25cfd2a832ebf09d3e947c385134a9703af278ee4c9448962881dbf00f947f246be08e555621553ee5d90bb0e156b128e54a71cab0c9119d739
7
+ data.tar.gz: 085b9e05debfb49090b62dbff46e93c96c2329564ca51c72f89d58428eb798fc75a95a28e55349a35408f120d29fdb1961f47389e4ce23811fef6a3cfa65b211
data/lib/edfize/edf.rb CHANGED
@@ -180,7 +180,7 @@ module Edfize
180
180
 
181
181
  def get_data_records
182
182
  current_read_offset = size_of_header
183
- (0..ns-1).to_a.each do |data_record_index|
183
+ (0..@number_of_data_records-1).to_a.each do |data_record_index|
184
184
  @signals.each do |signal|
185
185
  # 16-bit signed integer size = 2 Bytes = 2 ASCII characters
186
186
  read_size = signal.samples_per_data_record * SIZE_OF_SAMPLE_IN_BYTES
@@ -3,7 +3,7 @@ module Edfize
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
5
  TINY = 0
6
- BUILD = "beta3"
6
+ BUILD = "beta4"
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edfize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.beta3
4
+ version: 0.1.0.beta4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Remo Mueller