diff --git a/src/kbmod/configuration.py b/src/kbmod/configuration.py index 9b3e42d9c..f406d8dce 100644 --- a/src/kbmod/configuration.py +++ b/src/kbmod/configuration.py @@ -33,7 +33,7 @@ def __init__(self): "encode_num_bytes": -1, "generator_config": { "name": "EclipticCenteredSearch", - "velocity": [92.0, 526.0, 257], + "velocities": [92.0, 526.0, 257], "angles": [-math.pi / 15, math.pi / 15, 129], "angle_units": "radian", "velocity_units": "pix / d", diff --git a/src/kbmod/trajectory_generator.py b/src/kbmod/trajectory_generator.py index 9b0ede75e..3df1934c3 100644 --- a/src/kbmod/trajectory_generator.py +++ b/src/kbmod/trajectory_generator.py @@ -50,7 +50,7 @@ def create_trajectory_generator(config, work_unit=None, **kwargs): name = config["name"] if name not in TrajectoryGenerator.generators: - raise KeyError("Trajectory generator {name} is undefined.") + raise KeyError(f"Trajectory generator {name} is undefined.") logger.info(f"Creating trajectory generator of type {name}") # Add any keyword arguments to the params, overriding current values.