Skip to content

Commit 0dcac9e

Browse files
mbreiserclaude
andcommitted
fix: Restore missing braces in simpleYAMLParse, update to v0.2
Fix two missing closing braces in simpleYAMLParse() that caused a JS parse error breaking all page functionality (Import YAML button did nothing). The braces for `if (i < lines.length)` were dropped when the comment-skipping fix was applied in parseBlock and parseList. Also: - Update version v1 → v0.2 and date to 2026-02-28 - Fix quickstart: arena dropdown now "G4.1 (2×12)" (CCW removed) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f9b6cd8 commit 0dcac9e

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

experiment_designer.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ <h1>Experiment Designer</h1>
720720

721721
<!-- Footer -->
722722
<div class="app-footer">
723-
<p><a href="https://github.com/reiserlab/webDisplayTools" target="_blank">Reiser Lab</a> | Experiment Designer v1 | 2026-02-09 21:09 ET</p>
723+
<p><a href="https://github.com/reiserlab/webDisplayTools" target="_blank">Reiser Lab</a> | Experiment Designer v0.2 | 2026-02-28</p>
724724
</div>
725725

726726
<!-- Hidden file input for import -->
@@ -1842,6 +1842,7 @@ <h1>Experiment Designer</h1>
18421842
obj[key] = parseBlock(nextIndent);
18431843
}
18441844
}
1845+
}
18451846
} else {
18461847
obj[key] = parseValue(valRaw);
18471848
i++;
@@ -1895,6 +1896,7 @@ <h1>Experiment Designer</h1>
18951896
item[subKey] = parseBlock(nIndent);
18961897
}
18971898
}
1899+
}
18981900
} else {
18991901
item[subKey] = parseValue(subVal);
19001902
i++;

experiment_designer_quickstart.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ <h2>Walkthrough: create an optomotor protocol</h2>
254254
<div class="step">
255255
<span class="step-number">2</span>
256256
<p><strong>Choose arena configuration</strong> (left panel, Arena section)</p>
257-
<p>Select <code>G4.1 CCW (2&times;12) - 360&deg;</code> from the dropdown.</p>
257+
<p>Select <code>G4.1 (2&times;12) - 360&deg;</code> from the dropdown.</p>
258258
<p class="hint">The summary below the dropdown confirms: G4.1 &mdash; 2 rows &times; 12 cols</p>
259259
</div>
260260

0 commit comments

Comments
 (0)