diff --git a/src/parasect/__main__.py b/src/parasect/__main__.py index 1c1b909..77e97c5 100644 --- a/src/parasect/__main__.py +++ b/src/parasect/__main__.py @@ -64,7 +64,7 @@ def compare( input_folder: Optional[str], nocal: bool, noop: bool, - component: int, + component: Optional[int], ) -> None: """Compare command.""" s = compare_helper(file_1, file_2, input_folder, nocal, noop, component) @@ -109,11 +109,11 @@ def compare( help="Specify the default parameters file to apply to all Meals.", ) def build( - config: str, + config: Optional[str], format: str, input_folder: Optional[str], - default_parameters: str, - output_folder: str, + default_parameters: Optional[str], + output_folder: Optional[str], ) -> None: """Build command.""" build_helper( diff --git a/src/parasect/_helpers.py b/src/parasect/_helpers.py index f34c2cd..d9499f6 100644 --- a/src/parasect/_helpers.py +++ b/src/parasect/_helpers.py @@ -789,7 +789,7 @@ def build_param_from_mavproxy(item: Sequence) -> Parameter: item should be a 3-length sequence of strings. """ name = item[0] - value: Union[int, float] + value: Union[int, float, str] value = item[1] try: value = int(item[1])