Skip to content

Commit

Permalink
Merge pull request #315 from TheoChem-VU/314-error-when-running-tcuti…
Browse files Browse the repository at this point in the history
…lityjobs-due-to-osname-enum

Fixed a typo that was causing an issue when running jobs
  • Loading branch information
SiebeLeDe authored Oct 7, 2024
2 parents 6d12151 + 98db871 commit 8ce16a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tcutility/job/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def run(self):
else:
os_name = get_os_name()

if os_name == OSName.Windows:
if os_name == OSName.WINDOWS:
raise TCJobError("Generic Job", "Running jobs on Windows is not supported.")

# if we are not using slurm, we can execute the file. For this we need special permissions, so we have to set that first.
Expand Down

0 comments on commit 8ce16a9

Please sign in to comment.