Skip to content
Snippets Groups Projects
Commit 5b46224b authored by Reza Housseini's avatar Reza Housseini
Browse files

refactor: get rid of the uuid

parent b31272b4
Branches
Tags
No related merge requests found
Pipeline #376877 passed
......@@ -9,7 +9,6 @@ from typing import Callable, List, Tuple
import platform
import pyvista as pv
import dill
import uuid
from .runner import Runner, GuixRunner, PlainRunner, create_runner
from .scheduling_engine import SchedulingEngine, SlurmSchedulingEngine, schedule
......@@ -273,7 +272,7 @@ def run_remote(
] + [str(remote.project_path)]
session_file = remote.root_path / "session.pkl"
result_file = remote.root_path / "result"
scheduler_result_file = remote.root_path / ("scheduler-result-" + str(uuid.uuid4()))
scheduler_result_file = remote.root_path / "scheduler-result"
if execution_context.scheduling_engine is None:
......@@ -287,7 +286,7 @@ def run_remote(
else:
# TODO probably move this to the class
# TODO probably move this to the SlurmSchedulingEngine class
if isinstance(execution_context.scheduling_engine, SlurmSchedulingEngine):
execution_context.scheduling_engine.kwargs[
"cpus_per_task"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment