mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-11 23:54:43 +08:00
deleted comment
This commit is contained in:
parent
49501b3d3d
commit
19b9da2e83
1 changed files with 0 additions and 1 deletions
|
@ -1060,7 +1060,6 @@ class ProtocolsController < ApplicationController
|
||||||
# id 9 = dataset, id 15 = command, id 18 = attached sub protocol
|
# id 9 = dataset, id 15 = command, id 18 = attached sub protocol
|
||||||
# id 19= safety information ,
|
# id 19= safety information ,
|
||||||
# id 20= regents (materials, like scinote samples kind of)
|
# id 20= regents (materials, like scinote samples kind of)
|
||||||
# I use these 2 variables below to avoid rubocop errors
|
|
||||||
original_json['steps'].each_with_index do |step, i| # loop over steps
|
original_json['steps'].each_with_index do |step, i| # loop over steps
|
||||||
# position of step (first, second.... etc),
|
# position of step (first, second.... etc),
|
||||||
newj[i.to_s] = {} # the json we will insert into db
|
newj[i.to_s] = {} # the json we will insert into db
|
||||||
|
|
Loading…
Add table
Reference in a new issue