This is a relatively concentrated hot fix that updates the radial distance utility to reflect recent changes to the syntax of the magnet workflow. Changes include:
Syntax updates in the radial_distance_utils.get_reordered_filaments function.
A condition added to the radial_distance_utils.reorder_filaments function to better address edge cases encountered during testing.
Modifications to the example script
Reflect changes to the MagnetSet class
Reference input files actually present in the Examples directory
Modify the RadialBuild and InVesselBuild class instantiations to reflect proper use.
The scope of this PR was kept relatively focused but additional changes should be made to the radial distance utility in subsequent PRs to better leverage modifications to the MagnetSet and MagnetCoil classes from PRs #139 and #151.
Note that this PR depends on the filament-data-refactor branch, and therefore must be merged into that branch or must wait for PR #151 to be merged into main should we want this PR to do the same.
This is a relatively concentrated hot fix that updates the radial distance utility to reflect recent changes to the syntax of the magnet workflow. Changes include:
radial_distance_utils.get_reordered_filaments
function.radial_distance_utils.reorder_filaments
function to better address edge cases encountered during testing.MagnetSet
classExamples
directoryRadialBuild
andInVesselBuild
class instantiations to reflect proper use.The scope of this PR was kept relatively focused but additional changes should be made to the radial distance utility in subsequent PRs to better leverage modifications to the
MagnetSet
andMagnetCoil
classes from PRs #139 and #151.Note that this PR depends on the
filament-data-refactor
branch, and therefore must be merged into that branch or must wait for PR #151 to be merged intomain
should we want this PR to do the same.Closes #149