Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ruokolt committed Feb 21, 2024
1 parent ea68a0f commit 3c8b74a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions docs/source/user_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ Go to [Open On Demand](http://ood.triton.aalto.fi) and log in with your Aalto us
>
> Subsequently, the shell will ask you for a password. This is your Aalto password. Note that your key presses do not show - just write your password and press enter.
>
> You can skip the following question about `.zshrc` file creation by pressing "q".
>
> Afterwards, you can close this tab. Your Triton account is now fully operational.

Expand Down
12 changes: 6 additions & 6 deletions src/submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,14 +235,14 @@ def submit_dir(args, job_name):
args.SPEECH2TEXT_TMP,
)

# Log
print(f"Results will be written to folder: {output_dir}\n")

# Submit
cmd = f"sbatch {tmp_file_sh.absolute()}"
cmd = shlex.split(cmd)
subprocess.run(cmd)

# Log
print(f"Results will be written to folder: {output_dir}\n")


def create_sbatch_script_for_single_file(
input_file, job_name, mem, cpus_per_task, time, email, tmp_dir
Expand Down Expand Up @@ -295,14 +295,14 @@ def submit_file(args, job_name):
args.SPEECH2TEXT_TMP,
)

# Log
print(f"Results will be written to folder: {output_dir}\n")

# Submit
cmd = f"sbatch {tmp_file_sh.absolute()}"
cmd = shlex.split(cmd)
subprocess.run(cmd)

# Log
print(f"Results will be written to folder: {output_dir}\n")


def check_language(language):
supported_languages = list(settings.supported_languages.keys())
Expand Down

0 comments on commit 3c8b74a

Please sign in to comment.