You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove dead/unreachable code in layer_strategies.py #105
Remove dead/unreachable code in layer_strategies.py.
Why
Two spots are confusing dead code:
build_layer_summary has an if isinstance(layer, HelicalLayer): return base / return base where both branches return the identical string — the conditional does nothing.
The num_circuits % pattern_number != 0 warn-and-silently-return block is now unreachable: validate_helical_layer() raises on that exact condition upstream before dispatch. The silent-skip also contradicts the raise-on-invalid convention used everywhere else and could mask a config error if validation were ever bypassed.
Activity