Skip to content

Commit cab77e3

Browse files
committed
The cache directory is a mandatory input
1 parent 981b77e commit cab77e3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

executorlib/task_scheduler/file/queue_spawner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,19 @@
1010

1111
def execute_with_pysqa(
1212
command: list,
13+
cache_directory: str,
1314
task_dependent_lst: Optional[list[int]] = None,
1415
file_name: Optional[str] = None,
1516
resource_dict: Optional[dict] = None,
1617
config_directory: Optional[str] = None,
1718
backend: Optional[str] = None,
18-
cache_directory: Optional[str] = None,
1919
) -> Optional[int]:
2020
"""
2121
Execute a command by submitting it to the queuing system
2222
2323
Args:
2424
command (list): The command to be executed.
25+
cache_directory (str): The directory to store the HDF5 files.
2526
task_dependent_lst (list): A list of subprocesses that the current subprocess depends on. Defaults to [].
2627
file_name (str): Name of the HDF5 file which contains the Python function
2728
resource_dict (dict): resource dictionary, which defines the resources used for the execution of the function.
@@ -30,7 +31,6 @@ def execute_with_pysqa(
3031
}
3132
config_directory (str, optional): path to the config directory.
3233
backend (str, optional): name of the backend used to spawn tasks.
33-
cache_directory (str): The directory to store the HDF5 files.
3434
3535
Returns:
3636
int: queuing system ID

0 commit comments

Comments
 (0)