@@ -31,6 +31,7 @@ from rich.progress import BarColumn, Progress, TextColumn, TimeRemainingColumn
3131from qq_lib .clear import Clearer
3232from qq_lib .core .common import get_runtime_files
3333from qq_lib .core .error import QQError
34+ from qq_lib .core .logical_paths import logical_resolve
3435from qq_lib .submit import Submitter , SubmitterFactory
3536
3637console = Console ()
@@ -42,14 +43,14 @@ def submit_job(base_submitter: Submitter, directory: str) -> bool:
4243 """Return True if job submitted else return False."""
4344 # we have to modify the archive directory to redirect it into a new input dir
4445 if loop_info := base_submitter .get_loop_info ():
45- loop_info .archive = Path (directory ). resolve ( ) / loop_info .archive .name
46+ loop_info .archive = logical_resolve ( Path (directory )) / loop_info .archive .name
4647
4748 # create the submitter for the specific directory
4849 submitter = Submitter (
4950 base_submitter .get_batch_system (),
5051 base_submitter .get_queue (),
5152 base_submitter .get_account (),
52- (Path (directory ). resolve ( ) / base_submitter .get_script ().name ),
53+ (logical_resolve ( Path (directory )) / base_submitter .get_script ().name ),
5354 base_submitter .get_job_type (),
5455 base_submitter .get_resources (),
5556 loop_info ,
0 commit comments