mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-06 11:57:16 +08:00
Fix ordering for another step in demo project
Closes SCI-3098.
This commit is contained in:
parent
c409c39e60
commit
2464a45f83
1 changed files with 12 additions and 12 deletions
|
@ -921,8 +921,8 @@ module FirstTimeDataGenerator
|
||||||
'Perform all centrifugation steps at 20–25°C in a standard ' \
|
'Perform all centrifugation steps at 20–25°C in a standard ' \
|
||||||
'microcentrifuge. Ensure that the centrifuge does not cool below 20°C.'
|
'microcentrifuge. Ensure that the centrifuge does not cool below 20°C.'
|
||||||
]
|
]
|
||||||
module_checklist_items.each_with_index do |item, i|
|
module_checklist_items.each_with_index do |item, ind|
|
||||||
checklist.checklist_items << ChecklistItem.new(text: item, position: i)
|
checklist.checklist_items << ChecklistItem.new(text: item, position: ind)
|
||||||
end
|
end
|
||||||
checklist.save
|
checklist.save
|
||||||
|
|
||||||
|
@ -946,8 +946,8 @@ module FirstTimeDataGenerator
|
||||||
'If performing optional on-column DNase digestion, prepare DNase I ' \
|
'If performing optional on-column DNase digestion, prepare DNase I ' \
|
||||||
'stock solution as described in Appendix D (page 67).'
|
'stock solution as described in Appendix D (page 67).'
|
||||||
]
|
]
|
||||||
module_checklist_items.each do |item|
|
module_checklist_items.each_with_index do |item, ind|
|
||||||
checklist.checklist_items << ChecklistItem.new(text: item)
|
checklist.checklist_items << ChecklistItem.new(text: item, position: ind)
|
||||||
end
|
end
|
||||||
checklist.save
|
checklist.save
|
||||||
|
|
||||||
|
@ -972,8 +972,8 @@ module FirstTimeDataGenerator
|
||||||
'genomic DNA contamination”, page 21), follow steps D1–D4 (page 67) ' \
|
'genomic DNA contamination”, page 21), follow steps D1–D4 (page 67) ' \
|
||||||
'after performing this step.'
|
'after performing this step.'
|
||||||
]
|
]
|
||||||
module_checklist_items.each_with_index do |item, i|
|
module_checklist_items.each_with_index do |item, ind|
|
||||||
checklist.checklist_items << ChecklistItem.new(text: item, position: i)
|
checklist.checklist_items << ChecklistItem.new(text: item, position: ind)
|
||||||
end
|
end
|
||||||
checklist.save
|
checklist.save
|
||||||
|
|
||||||
|
@ -1031,8 +1031,8 @@ module FirstTimeDataGenerator
|
||||||
step: step
|
step: step
|
||||||
)
|
)
|
||||||
|
|
||||||
module_checklist_items.each_with_index do |item, i|
|
module_checklist_items.each_with_index do |item, ind|
|
||||||
checklist.checklist_items << ChecklistItem.new(text: item, position: i)
|
checklist.checklist_items << ChecklistItem.new(text: item, position: ind)
|
||||||
end
|
end
|
||||||
checklist.save
|
checklist.save
|
||||||
|
|
||||||
|
@ -1094,8 +1094,8 @@ module FirstTimeDataGenerator
|
||||||
'Clean surfaces with 70% ethanol or RNA remover',
|
'Clean surfaces with 70% ethanol or RNA remover',
|
||||||
'Turn on the UV light'
|
'Turn on the UV light'
|
||||||
]
|
]
|
||||||
module_checklist_items.each_with_index do |item, i|
|
module_checklist_items.each_with_index do |item, ind|
|
||||||
checklist.checklist_items << ChecklistItem.new(text: item, position: i)
|
checklist.checklist_items << ChecklistItem.new(text: item, position: ind)
|
||||||
end
|
end
|
||||||
checklist.save
|
checklist.save
|
||||||
|
|
||||||
|
@ -1390,8 +1390,8 @@ module FirstTimeDataGenerator
|
||||||
'Check stock of reagents & order new stock if needed',
|
'Check stock of reagents & order new stock if needed',
|
||||||
'Use gloves at all times'
|
'Use gloves at all times'
|
||||||
]
|
]
|
||||||
module_checklist_items.each_with_index do |item, i|
|
module_checklist_items.each_with_index do |item, ind|
|
||||||
checklist.checklist_items << ChecklistItem.new(text: item, position: i)
|
checklist.checklist_items << ChecklistItem.new(text: item, position: ind)
|
||||||
end
|
end
|
||||||
checklist.save
|
checklist.save
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue