From 33a505a3155eb1863389155da6e912f4ad6dd869 Mon Sep 17 00:00:00 2001 From: Lianming Du Date: Sat, 24 Jun 2023 22:27:30 +0800 Subject: [PATCH] bump to 1.0.1 --- .gitignore | 1 + docs/source/changelog.rst | 5 +++++ pytrfcli.py | 4 ++-- src/version.h | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 656ebcf..f3e45b3 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,4 @@ stria.cp38-win_amd64.pyd Homo_sapiens.GRCh38.dna.toplevel.fa.gz.fxi Homo_sapiens.GRCh38.dna.toplevel.fa.gz stria.cpython-310-x86_64-linux-gnu.so +benchmark/* diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 86d7b4e..2f98e0e 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -1,6 +1,11 @@ Changelog ========= +Version 1.0.1 (2023-06-24) +-------------------------- + +- Fixed command line interface errors + Version 1.0.0 (2023-06-05) -------------------------- diff --git a/pytrfcli.py b/pytrfcli.py index 46d2668..f1abfba 100644 --- a/pytrfcli.py +++ b/pytrfcli.py @@ -97,8 +97,8 @@ def extract_sequence(args): row.append(left) row.append(right) writer.writerow(row) - -if __name__ == '__main__': + +def main(): parser = argparse.ArgumentParser( prog = 'pytrf', usage = 'pytrf command [options] fastx', diff --git a/src/version.h b/src/version.h index 5f0f7ce..6de8b72 100644 --- a/src/version.h +++ b/src/version.h @@ -1 +1 @@ -#define PYTRF_VERSION "1.0.0" +#define PYTRF_VERSION "1.0.1"