GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

6M Downloads

[ENH] Make Raw Edit work with Multi-Line Macrotext

Smokenoaken opened this issue · 2 comments

commented

🟢 How does GSE currently work
When you click "Raw Edit" the base sequence code exports to a window, but multi-line macrotext doesnt compile correctly as it would need double brackets instead of quotes.

🟢 Describe the solution you'd like
Make Raw Edit export code using double brackets as opposed to quotes.

🟢 Describe alternatives you've considered
Unsure of other workarounds

🟢 Additional context
This wont compile as is.
image

commented

For multi line you need to replace the “ “ with [[ ]] for all multiline strings before you hit compile and save.

[“macro”] =“line 1
Line2”

With

[“macro”] = [[line 1
Line2]]

The formatter is an external library that I don’t have control over.

commented

Duplicate of #1462