Skip to content

Conversation

@alasdairross
Copy link
Contributor

@alasdairross alasdairross commented Nov 19, 2025

Fix relating to issue #47 . Updated virtual_circuits.py to allow an empty list of targets, i.e. targets = [] in calculate_targets(), as long as non_standard_targets are provided instead.
Tested in my use case that highlighted this issue and checked thatexample09 - virtual_circuits_MASTU.ipynb notebook still runs correctly.

alasdairross and others added 3 commits November 19, 2025 13:45
Added helper functions (get_xpoint_coordinate and get_strikepoint_r) to remove ~150 lines of duplication. Improved variable names for clarity. Simplified non-standard target handling with clearer indexing
@georgeholt1 georgeholt1 added the ready-for-final-tests Pull request is ready to run final pre-merge tests label Nov 24, 2025
@georgeholt1 georgeholt1 merged commit 8ab50b6 into FusionComputingLab:main Nov 24, 2025
2 of 3 checks passed
@alasdairross alasdairross deleted the issue-47/virtual_circuit_non_standard_targets_fix branch November 24, 2025 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-final-tests Pull request is ready to run final pre-merge tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants