diff COBRAxy/marea.py @ 147:3fca9b568faf draft

Uploaded
author bimib
date Wed, 06 Nov 2024 13:57:24 +0000
parents 88cf4543e210
children 8e3cbf68cdc4
line wrap: on
line diff
--- a/COBRAxy/marea.py	Wed Nov 06 10:12:52 2024 +0000
+++ b/COBRAxy/marea.py	Wed Nov 06 13:57:24 2024 +0000
@@ -20,7 +20,7 @@
 ERRORS = []
 ########################## argparse ##########################################
 ARGS :argparse.Namespace
-def process_args(args=None) -> argparse.Namespace:
+def process_args(args:List[str] = None) -> argparse.Namespace:
     """
     Interfaces the script of a module with its frontend, making the user's choices for various parameters available as values in code.
 
@@ -871,7 +871,7 @@
     return { id : list(map(utils.Float("Dataset values, not an argument"), values)) for id, values in dataset.items() }, IDs
 
 ############################ MAIN #############################################
-def main(args=None) -> None:
+def main(args:List[str] = None) -> None:
     """
     Initializes everything and sets the program in motion based on the fronted input arguments.