Skip to content

Commit

Permalink
Fixed mypy error
Browse files Browse the repository at this point in the history
  • Loading branch information
bourque committed Aug 15, 2024
1 parent e7f44c9 commit d8e057b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions imap_processing/codice/codice_l1a.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,16 @@ def __init__(self, table_id: int, plan_id: int, plan_step: int, view_id: int):
self.plan_step = plan_step
self.view_id = view_id

def configure_data_products(self, apid: str) -> None:
def configure_data_products(self, apid: int) -> None:
"""
Set the various settings for defining the data products.
Parameters
----------
apid : str
apid : int
The APID of interest.
"""
config = constants.DATA_PRODUCT_CONFIGURATIONS.get(apid)
config = constants.DATA_PRODUCT_CONFIGURATIONS.get(apid) # type: ignore[call-overload]
self.num_counters = config["num_counters"]
self.num_energy_steps = config["num_energy_steps"]
self.variable_names = config["variable_names"]
Expand Down

0 comments on commit d8e057b

Please sign in to comment.