# Headed for earth solutions

**URL:** https://forum.eternagame.org/t/headed-for-earth-solutions/4270
**Category:** Bug Reports
**Tags:** issue-resolved
**Created:** [July 20, 2022, 8:31pm UTC](https://forum.eternagame.org/t/headed-for-earth-solutions/4270 "2022-07-20T20:31:15Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![JR1](https://forum.eternagame.org/letter_avatar_proxy/v4/letter/j/dfb087/32.png) [@JR1](https://forum.eternagame.org/u/JR1)
#### Post date: [July 20, 2022, 8:31pm UTC](https://forum.eternagame.org/t/headed-for-earth-solutions/4270/1 "2022-07-20T20:31:15Z")

</div>

Here are screenshots of the two puzzles. That is all I save.

 ![Asteroid headed for earth](https://d2he8ud106d9gn.cloudfront.net/original/2X/7/7c9e029d2474237f6b17d6d48aa5c1a1b75f3fbf.png)  
 ![Comet headed for earth](https://d2he8ud106d9gn.cloudfront.net/original/2X/7/70758160c3eefb8d6e751d8638bcf5081e55f429.png)

---

<div class="post-metadata">

### Author: ![JR1](https://forum.eternagame.org/letter_avatar_proxy/v4/letter/j/dfb087/32.png) [@JR1](https://forum.eternagame.org/u/JR1)
#### Post date: [July 20, 2022, 8:50pm UTC](https://forum.eternagame.org/t/headed-for-earth-solutions/4270/2 "2022-07-20T20:50:44Z")

</div>

Here is asteroid solution. No longer works, someone is moving the cheese.

AUUAUCACCCGAGAUAAAACACGCAGUGCAGCGUGAUAAUGCACAAAAUCGGGA  
.(((((.{{{{{)))))…(((((.{{{{{)))))…}}}}}…}}}}}.

---

<div class="post-metadata">

### Author: ![DigitalEmbrace](https://forum.eternagame.org/user_avatar/forum.eternagame.org/digitalembrace/32/4445_2.png) [@DigitalEmbrace](https://forum.eternagame.org/u/DigitalEmbrace)
#### Post date: [July 20, 2022, 9:11pm UTC](https://forum.eternagame.org/t/headed-for-earth-solutions/4270/3 "2022-07-20T21:11:07Z")

</div>

This solved in puzzlemaker half an hour ago and now it is not solving? Is that correct?

---

<div class="post-metadata">

### Author: ![DigitalEmbrace](https://forum.eternagame.org/user_avatar/forum.eternagame.org/digitalembrace/32/4445_2.png) [@DigitalEmbrace](https://forum.eternagame.org/u/DigitalEmbrace)
#### Post date: [July 20, 2022, 9:20pm UTC](https://forum.eternagame.org/t/headed-for-earth-solutions/4270/4 "2022-07-20T21:20:47Z")

</div>

@JR1 The asteroid dot-bracket is `.(((((.{{{{{)))))..(((((.{{{{{)))))....}}}}}....}}}}}.`

You probably have the same dot-bracket, just the Forum formatting changing it on you.

---

<div class="post-metadata">

### Author: ![TheInverted](https://forum.eternagame.org/user_avatar/forum.eternagame.org/theinverted/32/5559_2.png) [@TheInverted](https://forum.eternagame.org/u/TheInverted)
#### Post date: [July 20, 2022, 10:15pm UTC](https://forum.eternagame.org/t/headed-for-earth-solutions/4270/5 "2022-07-20T22:15:42Z")

</div>

Can it be fixed?

I know I was able to solve other puzzles with multiple pseudoknots.

---

<div class="post-metadata">

### Author: ![Anamfija](https://forum.eternagame.org/user_avatar/forum.eternagame.org/anamfija/32/5144_2.png) [@Anamfija](https://forum.eternagame.org/u/Anamfija)
#### Post date: [July 20, 2022, 11:17pm UTC](https://forum.eternagame.org/t/headed-for-earth-solutions/4270/6 "2022-07-20T23:17:28Z")

</div>

Here’s a representative screenshot of the error I get when trying to load the puzzle:

 ![comet_snapshot](https://d2he8ud106d9gn.cloudfront.net/original/2X/7/7100bfc084c736882131e86f20e0d24f7b6d3d71.png)

And here are links to the two puzzles we’re all having issues loading (for future reference):  
[Asteroid headed for earth](https://eternagame.org/puzzles/11354937)  
[Comet headed for earth](https://eternagame.org/puzzles/11354947)

---

<div class="post-metadata">

### Author: ![JR1](https://forum.eternagame.org/letter_avatar_proxy/v4/letter/j/dfb087/32.png) [@JR1](https://forum.eternagame.org/u/JR1)
#### Post date: [July 21, 2022, 12:37pm UTC](https://forum.eternagame.org/t/headed-for-earth-solutions/4270/7 "2022-07-21T12:37:26Z")

</div>

Both strings are the same.

---

<div class="post-metadata">

### Author: ![JR1](https://forum.eternagame.org/letter_avatar_proxy/v4/letter/j/dfb087/32.png) [@JR1](https://forum.eternagame.org/u/JR1)
#### Post date: [July 21, 2022, 12:55pm UTC](https://forum.eternagame.org/t/headed-for-earth-solutions/4270/8 "2022-07-21T12:55:13Z")

</div>

Errors in puzzle maker: When there are pseudoknots:

## 1.) Some energy amounts are “0” when they should not be. 2.) If you delete a single or pair the design maps into a different configuration. 3.) Adding or subtracting pseudo brackets in structure string doesn’t work. I designed mine in a text file and then copy into puzzle maker. You get all sort of crazy results. 4.) When adding new brackets to structure you may need a error message of unbalanced brackets. 5.) Very large numbers for delta difference. No longer means much.

Might want a pseudoknot icon that allows you to add/remove a pseudoknot in the puzzle itself (when the dust settles) if you are interested in designing pseudoknots in puzzle maker.

---

<div class="post-metadata">

### Author: ![LFP6](https://forum.eternagame.org/user_avatar/forum.eternagame.org/lfp6/32/7_2.png) [@LFP6](https://forum.eternagame.org/u/LFP6)
#### Post date: [July 22, 2022, 12:14am UTC](https://forum.eternagame.org/t/headed-for-earth-solutions/4270/9 "2022-07-22T00:14:21Z")

</div>

WRT the current puzzle crashes: I’ve identified an issue in the pair constraints that’s causing this. I’ll get the fix deployed probably tomorrow.

As far as the other puzzlemaker issues:

> Some energy amounts are “0” when they should not be.

You may notice that when solving puzzles, we actually disable energies all together. There are a number of issues with energy calculations for pseudoknotted structures, plus we don’t currently have a good way to calculate how to display them even if they did work properly. It looks like for some reason in puzzlemaker they’re not getting completely disabled like they should be.

> If you delete a single or pair the design maps into a different configuration.

I imagine this is due to the nature of how we represent things internally - what we work with ultimately isn’t the dot bracket, but a list of what bases are paired to what other bases. I’m guessing that it is “recalculating” the pseudoknotted structure, and choosing differently which pairs are treated “normally” vs as “pseudoknots” (as far as I know, there is no real difference, other than how we display them). If you’re seeing something else other than a re-configuration of what pairs are shown as pseudoknots, I’d need more details.

> Adding or subtracting pseudo brackets in structure string doesn’t work. I designed mine in a text file and then copy into puzzle maker. You get all sort of crazy results.

Could you provide some examples? This may not be something we can easily resolve now, but might be able to look into with our upcoming rewrite

> When adding new brackets to structure you may need a error message of unbalanced brackets.

Are you saying that it is showing incorrectly, or that it’s not showing when it should be?

> Very large numbers for delta difference. No longer means much.

This is the nature of NUPACK - a high energy penalty means it encountered a structure that it determines is bogus, such as a U-U pair (which never occurs in its model) - applying this penalty is a way of indicating “this will never fold”.

---

<div class="post-metadata">

### Author: ![LFP6](https://forum.eternagame.org/user_avatar/forum.eternagame.org/lfp6/32/7_2.png) [@LFP6](https://forum.eternagame.org/u/LFP6)
#### Post date: [July 22, 2022, 1:26pm UTC](https://forum.eternagame.org/t/headed-for-earth-solutions/4270/10 "2022-07-22T13:26:08Z")

</div>

> [@JR1](#):
>
> Might want a pseudoknot icon that allows you to add/remove a pseudoknot in the puzzle itself (when the dust settles) if you are interested in designing pseudoknots in puzzle maker.

On and for this, I think the ultimate goal will be to support magic glue in puzzlemaker - not sure that this can be done in the near term though

---

<div class="post-metadata">

### Author: ![JR1](https://forum.eternagame.org/letter_avatar_proxy/v4/letter/j/dfb087/32.png) [@JR1](https://forum.eternagame.org/u/JR1)
#### Post date: [July 22, 2022, 8:18pm UTC](https://forum.eternagame.org/t/headed-for-earth-solutions/4270/11 "2022-07-22T20:18:20Z")

</div>

Here is a pseudoknot puzzle where I deleted NT45.

 ![original](https://d2he8ud106d9gn.cloudfront.net/original/2X/1/17081b0e818412551d1a43a87be87eb192d9d3da.png)  
 ![deleted nt 45 results](https://d2he8ud106d9gn.cloudfront.net/original/2X/6/60f51f2a07622153a28394289fe51364e2b531fa.png)  
Resulting structure:  
.(((((…)))))…(((…(…)))…)…  
It looks like it changes the “{}” to “()” on a delete.

---

<div class="post-metadata">

### Author: ![JR1](https://forum.eternagame.org/letter_avatar_proxy/v4/letter/j/dfb087/32.png) [@JR1](https://forum.eternagame.org/u/JR1)
#### Post date: [July 22, 2022, 8:27pm UTC](https://forum.eternagame.org/t/headed-for-earth-solutions/4270/12 "2022-07-22T20:27:46Z")

</div>

I added brackets to the original structure:

 ![Compare to structure](https://d2he8ud106d9gn.cloudfront.net/original/2X/1/1bbdf90b2dc32dc08d22bae2ce78a5f5e2e6b777.png)  
Structure:  
.(((((…)))))…{…(((…}…)))…  
It’s reversing single bracket with the 3NT stack. Is this going to work as far as seeing this in a RNA world?

---

<div class="post-metadata">

### Author: ![JR1](https://forum.eternagame.org/letter_avatar_proxy/v4/letter/j/dfb087/32.png) [@JR1](https://forum.eternagame.org/u/JR1)
#### Post date: [July 22, 2022, 8:36pm UTC](https://forum.eternagame.org/t/headed-for-earth-solutions/4270/13 "2022-07-22T20:36:18Z")

</div>

Structure with single bracket:  
.(((((…)))))…(((…{…)))…

 ![original](https://d2he8ud106d9gn.cloudfront.net/original/2X/f/f6bff8f051c3eb42883f0a80c0ac7d5806fa740f.png)  
 ![Unbalanced ()](https://d2he8ud106d9gn.cloudfront.net/original/2X/b/bbb3ba923b1038a8190c8477ad58c4dee43295e4.png)  
 ![unbalanced {}](https://d2he8ud106d9gn.cloudfront.net/original/2X/2/2ecbbf9256325c05d36dd5d09783c4cfa3607be0.png)  
There is no error now for single “()” so I guess no error for single bracket.,

---

<div class="post-metadata">

### Author: ![LFP6](https://forum.eternagame.org/user_avatar/forum.eternagame.org/lfp6/32/7_2.png) [@LFP6](https://forum.eternagame.org/u/LFP6)
#### Post date: [July 22, 2022, 8:56pm UTC](https://forum.eternagame.org/t/headed-for-earth-solutions/4270/14 "2022-07-22T20:56:23Z")

</div>

Ah I think I see what’s going on - there’s some utility code that handles deleting bases via the UI, and it’s not doing its operations with pseudoknots enabled. Fix incoming!

---

<div class="post-metadata">

### Author: ![LFP6](https://forum.eternagame.org/user_avatar/forum.eternagame.org/lfp6/32/7_2.png) [@LFP6](https://forum.eternagame.org/u/LFP6)
#### Post date: [July 22, 2022, 9:13pm UTC](https://forum.eternagame.org/t/headed-for-earth-solutions/4270/15 "2022-07-22T21:13:54Z")

</div>

Fixes released, changelog: [https://github.com/eternagame/EternaJS/releases/tag/v1.14.4](https://github.com/eternagame/EternaJS/releases/tag/v1.14.4)

---

<div class="post-metadata">

### Author: ![JR1](https://forum.eternagame.org/letter_avatar_proxy/v4/letter/j/dfb087/32.png) [@JR1](https://forum.eternagame.org/u/JR1)
#### Post date: [July 24, 2022, 1:56pm UTC](https://forum.eternagame.org/t/headed-for-earth-solutions/4270/16 "2022-07-24T13:56:14Z")

</div>

Much better. Great fix. Thanks for your help.  
Suggestion for upcoming events:  
1.) Alt-Ctrl (Single NT 1)…Alt-Ctrl (Single NT 2) creates the pseudoknot. Right click… select “delete pseudoknot” from selection box to turn pseudoknot single NTs to regular NTs.  
2’) Pseudoknot 2 state puzzles. Allow designer to create a pseudoknot in state 2 only that “switches” state 2 into a second configuration (like our 2 state switches now). Allows designer to create ratchets  
and non-molecule switches. Take advantage of the thermodynamics of the RNA environment and makes for interesting labs.

---

<div class="post-metadata">

### Author: ![JR1](https://forum.eternagame.org/letter_avatar_proxy/v4/letter/j/dfb087/32.png) [@JR1](https://forum.eternagame.org/u/JR1)
#### Post date: [July 24, 2022, 2:19pm UTC](https://forum.eternagame.org/t/headed-for-earth-solutions/4270/17 "2022-07-24T14:19:40Z")

</div>

I may have broken puzzle maker on stomping on existing structure with this string:  
.(((((…}}}…{{{…)))))…(((((…}}}…{{{…)))))…(((((…}}}…{{{…)))))…(((((…}}}…{{{…)))))…  
I hang when entering so can no longer use… Sorry about that.

I can enter through beam to puzzlemaker so I reset myself…
