LociOiling Lv 1
@alcor29 discovered this crash.
The idealize tools (backbone and secondary structure) are dimmed when DNA is selected in the GUI. A recipe can still call structure.IdealizeSelected, however.
With a selection of length 1, Foldit doesn't mind if the segment is DNA. (It's not clear what idealizing at length 1 does, but whatever it is, it produces points.)
At length 2, Foldit may crash when two DNA segments are selected. The two segments must be adjacent to each other, on the same DNA chain.
If one of the segments is at the end of the DNA chain, no crash occurs. A selection of one DNA and one protein segment also doesn't cause a crash.
The recipe 2406_DNA_Idealize demonstrates the crash. Using hardcoded values, the recipe can idealize 70 and 71, the end of one DNA chain and the beginning of the next. The recipe also idealizes 71 and 72, the start of the next chain. The recipe crashes on 72 and 73. Other mid-chain DNAs will produce a crash, such as 62-63. These values are specific to puzzle 2406.
A log file for one crash is attached. The traceback seems similar to the one seen when attempting to remix DNA, referencing core::conformation::carbohydrates::find_seqpos_of_saccharides_parent_residue.
log.txt