0.1.172
This commit is contained in:
parent
0d5c72dc1f
commit
944bbc6a77
@ -1,7 +1,7 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
# replace with your username:
|
# replace with your username:
|
||||||
name = guan
|
name = guan
|
||||||
version = 0.1.171
|
version = 0.1.172
|
||||||
author = guanjihuan
|
author = guanjihuan
|
||||||
author_email = guanjihuan@163.com
|
author_email = guanjihuan@163.com
|
||||||
description = An open source python package
|
description = An open source python package
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Metadata-Version: 2.4
|
Metadata-Version: 2.4
|
||||||
Name: guan
|
Name: guan
|
||||||
Version: 0.1.171
|
Version: 0.1.172
|
||||||
Summary: An open source python package
|
Summary: An open source python package
|
||||||
Home-page: https://py.guanjihuan.com
|
Home-page: https://py.guanjihuan.com
|
||||||
Author: guanjihuan
|
Author: guanjihuan
|
||||||
|
@ -266,7 +266,7 @@ def make_sh_file_for_sbatch(sh_filename='a', command_line='python a.py', cpu_num
|
|||||||
'#!/bin/sh\n' \
|
'#!/bin/sh\n' \
|
||||||
+f'#SBATCH --job-name={task_name}\n'
|
+f'#SBATCH --job-name={task_name}\n'
|
||||||
if sbatch_partition==1:
|
if sbatch_partition==1:
|
||||||
sh_content += f'#SBATCH --partition={partition_name}'
|
sh_content += f'#SBATCH --partition={partition_name}\n'
|
||||||
sh_content += f'#SBATCH --cpus-per-task={cpu_num}\n'
|
sh_content += f'#SBATCH --cpus-per-task={cpu_num}\n'
|
||||||
if cd_dir==1:
|
if cd_dir==1:
|
||||||
sh_content += 'cd $PBS_O_WORKDIR\n'
|
sh_content += 'cd $PBS_O_WORKDIR\n'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user