We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5185dfc commit a3fdeb3Copy full SHA for a3fdeb3
src/mitim_tools/misc_tools/FARMINGtools.py
@@ -1067,7 +1067,8 @@ def create_slurm_execution_files(
1067
commandSBATCH.append("#SBATCH --mail-user=" + email)
1068
1069
# ******* Partition / Billing
1070
- commandSBATCH.append(f"#SBATCH --partition {partition}")
+ if partition is not None:
1071
+ commandSBATCH.append(f"#SBATCH --partition {partition}")
1072
1073
if account is not None:
1074
commandSBATCH.append(f"#SBATCH --account {account}")
0 commit comments