EventChart 2022.5.30 → 2022.5.33

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/extremeunzip.zzaqsu.rb +31 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b6e9b221c77c9b657e64b9d5c2389b76509d51d7fdfb1a098a59c79c15918ca2
4
- data.tar.gz: 2aaaf35571613983885231c12fbc49be2654ddfbdecc462770f032b940bc7218
3
+ metadata.gz: e2b058e22dc4c31f4bd006b35d95f062d82b59c7e0b7f1443bed5efba048c1a1
4
+ data.tar.gz: c2804e419ff054247443d7bb30ce9d047be586d1fd19695709e8ba81f34caee1
5
5
  SHA512:
6
- metadata.gz: 78ce77d93f4f9680f31124a7ccefd4f9d172b1a2c3f1ec9a02ab9af3b0a2188edbafe7e69286ddc074f477506e48c126ec5285baa72b354d74af2711a94f7ad7
7
- data.tar.gz: 2d2451704e1253ef29d9ea750d6cb841c052bb729350732e028536387ccec5acc16e2fe4cf272e79c1043fccdb41bc3621503c632f422e2d1a78338532f2a3d2
6
+ metadata.gz: e6411788cb3683c7247a81ee604b9f64cbfe87129b383f0ccb442fa60e3bf565eb04be71d617cd894510834a1a8f62eb8ae3cf85e150275d33516630e8fecad3
7
+ data.tar.gz: 9e0b8bc3b369875023f52886b9a4e063cb39c2d63c83c097cc7ca05935c7dab5e657b810ad6f45356850ac98d00729fc8cdedb7b81e4d98a72d2b1e4ad2bb440
@@ -24,7 +24,37 @@ class ExtremeUnZip
24
24
  wholeCbor = CBOR.decode(wholeCborByteArray, options) # 解码
25
25
 
26
26
  puts wholeCbor
27
-
27
+
28
+ x=1..wholeCbor.length
29
+ y=wholeCbor.map { |event| event["optimisticScore"] }
30
+ y1=wholeCbor.map { |event| event["speciesScore"] }
31
+
32
+ puts x
33
+ puts y
34
+
35
+ xString=""
36
+
37
+ x.each { |value| xString=xString+"#{value}," }
38
+
39
+ xString="[#{xString}]"
40
+
41
+ puts xString
42
+
43
+ yString=""
44
+ y.each { |value| yString=yString+"#{value}," }
45
+
46
+ yString="[#{yString}]"
47
+
48
+ puts yString
49
+
50
+ yString1=""
51
+ y1.each { |value| yString1=yString1+"#{value}," }
52
+
53
+ yString1="[#{yString1}]"
54
+
55
+ puts yString1
56
+
57
+
28
58
  result =true # 解压成功
29
59
  rescue EOFError => e # 文件内容提前到末尾。一般是压缩包文件未传输完全 。
30
60
  puts "Error: the exz file may be incomplete." # 报告错误。文件可能不完整。
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: EventChart
3
3
  version: !ruby/object:Gem::Version
4
- version: 2022.5.30
4
+ version: 2022.5.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hxcan Cai