Skip to content

Commit

Permalink
adding correct return type hint (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
arik-shurygin authored Dec 12, 2024
1 parent 2d730ff commit c665be2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/dynode/covid_sero_initializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import numpy as np
import pandas as pd

from . import utils
from . import SEIC_Compartments, utils
from .abstract_initializer import AbstractInitializer
from .config import Config

Expand Down Expand Up @@ -52,7 +52,9 @@ def __init__(self, config_initializer_path, global_variables_path):
self.config.INITIAL_INFECTIONS
)

def load_initial_state(self, initial_infections: float) -> None:
def load_initial_state(
self, initial_infections: float
) -> SEIC_Compartments:
"""
a function which takes a number of initial infections,
disperses them across infectious and exposed compartments according to the INIT_INFECTED_DIST
Expand Down

0 comments on commit c665be2

Please sign in to comment.