mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-11 15:45:34 +08:00
Fixed hound line too long
This commit is contained in:
parent
e56c0bb100
commit
a6e93b8e35
1 changed files with 2 additions and 2 deletions
|
@ -52,8 +52,8 @@ module ProtocolsIoHelper
|
|||
tables[table_counter.to_s] = {}
|
||||
tr_number = table[0].scan(tr_regex).count
|
||||
diff = 5 - tr_number # always tables have atleast 5 rows
|
||||
table_fixed_string = tr_number > 4 ? table[0] : table[0] + empty_tbl_gen(diff)
|
||||
tr_strings = table_fixed_string.scan(tr_regex)
|
||||
table_fix_str = tr_number > 4 ? table[0] : table[0] + empty_tbl_gen(diff)
|
||||
tr_strings = table_fix_str.scan(tr_regex)
|
||||
contents = {}
|
||||
contents['data'] = []
|
||||
tr_strings.each_with_index do |tr, tr_counter|
|
||||
|
|
Loading…
Add table
Reference in a new issue