0.1.172
This commit is contained in:
parent
0d5c72dc1f
commit
944bbc6a77
@ -1,7 +1,7 @@
|
||||
[metadata]
|
||||
# replace with your username:
|
||||
name = guan
|
||||
version = 0.1.171
|
||||
version = 0.1.172
|
||||
author = guanjihuan
|
||||
author_email = guanjihuan@163.com
|
||||
description = An open source python package
|
||||
|
@ -1,6 +1,6 @@
|
||||
Metadata-Version: 2.4
|
||||
Name: guan
|
||||
Version: 0.1.171
|
||||
Version: 0.1.172
|
||||
Summary: An open source python package
|
||||
Home-page: https://py.guanjihuan.com
|
||||
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' \
|
||||
+f'#SBATCH --job-name={task_name}\n'
|
||||
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'
|
||||
if cd_dir==1:
|
||||
sh_content += 'cd $PBS_O_WORKDIR\n'
|
||||
|
Loading…
x
Reference in New Issue
Block a user