Skip to content

Commit

Permalink
fixing compatibility issue typing
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaetan Facchinetti ([email protected]) committed Nov 6, 2024
1 parent d086a8c commit e7f09ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/py21cmcast/runs.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@



def init_runs(config_file: str, q_scale: float | None = None, clean_existing_dir: bool = False,
verbose: bool = False, output_dir: str | None = None, cache_dir: str | None = None,
def init_runs(config_file: str, q_scale: float = None, clean_existing_dir: bool = False,
verbose: bool = False, output_dir: str = None, cache_dir: str = None,
generate_script: bool = False, **kwargs) -> None :

"""
Expand Down Expand Up @@ -247,7 +247,7 @@ def init_runs(config_file: str, q_scale: float | None = None, clean_existing_dir



def generate_slurm_script(job_name, nruns, output_dir, random_seed: int | None = None, email_address: str | None = None):
def generate_slurm_script(job_name, nruns, output_dir, random_seed: int = None, email_address: str = None):

"""
Generate a bash script automatically for the job
Expand Down

0 comments on commit e7f09ce

Please sign in to comment.