chore: adopt remaining local development state
Catch-all for the intermixed residue of the unpushed otko-development work ported into this tree: combinations/console-dock/quick-guide wiring across commands, core, services, views and tests; repo-wide ruff-format normalization; README/CONTRIBUTING updates; and the toolbar default (both toolbars now open in the top area, quick guide text updated). Splitting this further would require hunk-level surgery with low confidence; the preceding commits in this branch isolate the self-contained features.
This commit is contained in:
parent
cb4bf8fccd
commit
ba783718d4
152 changed files with 3394 additions and 1651 deletions
|
|
@ -9,6 +9,8 @@ pytest.importorskip("openseespy")
|
|||
from otko.services import load_project, save_project # noqa: E402
|
||||
from otko.services.opensees_runner import OpenSeesRunner # noqa: E402
|
||||
|
||||
pytestmark = pytest.mark.slow
|
||||
|
||||
|
||||
def test_rc_frame_gravity_matches_opensees_reference(tmp_path) -> None: # type: ignore[no-untyped-def]
|
||||
"""Build → save → load → run → compare to OpenSees Tcl output.
|
||||
|
|
@ -21,6 +23,7 @@ def test_rc_frame_gravity_matches_opensees_reference(tmp_path) -> None: # type:
|
|||
load stepped onto each top node).
|
||||
"""
|
||||
from examples.rc_frame_gravity import build_rc_frame_gravity, P_LOAD
|
||||
|
||||
proj = build_rc_frame_gravity()
|
||||
proj.validate_references()
|
||||
|
||||
|
|
@ -54,7 +57,7 @@ def test_rc_frame_gravity_matches_opensees_reference(tmp_path) -> None: # type:
|
|||
# OpenSees equilibrium sign, i.e. the first component equals the
|
||||
# applied vertical load on end i.
|
||||
col1 = result.element_forces[1][-1]
|
||||
assert abs(col1[0]) == pytest.approx(P_LOAD, abs=1.0), (
|
||||
f"Column 1 axial {col1[0]:.2f} ≠ ±{P_LOAD} kip"
|
||||
)
|
||||
assert abs(col1[0]) == pytest.approx(
|
||||
P_LOAD, abs=1.0
|
||||
), f"Column 1 axial {col1[0]:.2f} ≠ ±{P_LOAD} kip"
|
||||
assert abs(col1[3]) == pytest.approx(P_LOAD, abs=1.0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue