diff --git a/PyPI/setup.cfg b/PyPI/setup.cfg index f02a379..97f7de8 100644 --- a/PyPI/setup.cfg +++ b/PyPI/setup.cfg @@ -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 diff --git a/PyPI/src/guan.egg-info/PKG-INFO b/PyPI/src/guan.egg-info/PKG-INFO index 83283d5..f086148 100644 --- a/PyPI/src/guan.egg-info/PKG-INFO +++ b/PyPI/src/guan.egg-info/PKG-INFO @@ -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 diff --git a/PyPI/src/guan/file_reading_and_writing.py b/PyPI/src/guan/file_reading_and_writing.py index c9f6c0c..587afde 100644 --- a/PyPI/src/guan/file_reading_and_writing.py +++ b/PyPI/src/guan/file_reading_and_writing.py @@ -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'