Skip to content

Commit

Permalink
Update syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
connoramoreno committed Dec 12, 2024
1 parent c63d2d6 commit a925d6e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions parastell/parastell.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,17 +588,14 @@ def parse_args():
return parser.parse_args()


def check_inputs(
invessel_build, magnet_coils, source_mesh, dagmc_export, logger
):
def check_inputs(invessel_build, magnet_coils, source_mesh, logger):
"""Checks inputs for consistency across ParaStell classes.
Arguments:
invessel_build (dict): dictionary of RadialBuild and InVesselBuild
parameters.
magnet_coils (dict): dictionary of MagnetSet parameters.
source_mesh (dict): dictionary of SourceMesh parameters.
dagmc_export (dict): dictionary of DAGMC export parameters.
logger (object): logger object.
"""
if "repeat" in invessel_build:
Expand Down Expand Up @@ -701,7 +698,7 @@ def parastell():
stellarator.build_cubit_model(
**(filter_kwargs(dagmc_export, build_cubit_model_allowed_kwargs))
)
stellarator.export_dagmc_cubit(
stellarator.export_cf_dagmc(
export_dir=args.export_dir,
**(filter_kwargs(dagmc_export, export_cf_dagmc_allowed_kwargs)),
)
Expand Down

0 comments on commit a925d6e

Please sign in to comment.