Skip to content

Commit

Permalink
Update src/prog_server/models/session.py
Browse files Browse the repository at this point in the history
Co-authored-by: Christopher Teubert <[email protected]>
  • Loading branch information
kkannan7 and teubert authored Aug 8, 2024
1 parent 88ca7fa commit ff5000e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prog_server/models/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def __initialize(self, x0, predict_queue=True):
# state_est_class is an instance of state_estimators.StateEstimator - use the object instead
# This happens for user state estimators that are added to the server at startup.
self.state_est = deepcopy(state_est_class)
# Apply any configuration changes, overriding predictor config.
# Apply any configuration changes, overriding estimator config
self.state_est.parameters.update(self.state_est_cfg)
else:
abort(400, f"Invalid state estimator type {type(self.state_est_name)} for estimator {self.state_est_name}. For custom classes, the state estimator must be mentioned with quotes in the est argument")
Expand Down

0 comments on commit ff5000e

Please sign in to comment.