diff --git a/tools/fasta_filter_by_id/README.rst b/tools/fasta_filter_by_id/README.rst index 2ed61bc..5be35b9 100644 --- a/tools/fasta_filter_by_id/README.rst +++ b/tools/fasta_filter_by_id/README.rst @@ -53,6 +53,7 @@ v0.0.5 - Explicit dependency on ``galaxy_sequence_utils``. - Use standard MIT license (was previously using the MIT/BSD style Biopython Licence Agreement). v0.0.6 - Python 3 compatible print function. +v0.0.7 - Fix file open mode for Python 3.11 onwards. ======= ====================================================================== diff --git a/tools/fasta_filter_by_id/fasta_filter_by_id.py b/tools/fasta_filter_by_id/fasta_filter_by_id.py index 066d7a0..2519a8e 100644 --- a/tools/fasta_filter_by_id/fasta_filter_by_id.py +++ b/tools/fasta_filter_by_id/fasta_filter_by_id.py @@ -16,7 +16,7 @@ in column one, and the ID of the match from the database is in column two. Here sensible values for the column numbers would therefore be "1" or "2". -This tool is copyright 2010-2017 by Peter Cock, The James Hutton Institute +This tool is copyright 2010-2023 by Peter Cock, The James Hutton Institute (formerly SCRI, Scottish Crop Research Institute), UK. All rights reserved. See accompanying text file for licence details (MIT license). """ @@ -26,7 +26,7 @@ import sys if "-v" in sys.argv or "--version" in sys.argv: - print("v0.0.6") + print("v0.0.7") sys.exit(0) from galaxy_utils.sequence.fasta import fastaReader, fastaWriter diff --git a/tools/fasta_filter_by_id/fasta_filter_by_id.xml b/tools/fasta_filter_by_id/fasta_filter_by_id.xml index 3d0823c..25bd642 100644 --- a/tools/fasta_filter_by_id/fasta_filter_by_id.xml +++ b/tools/fasta_filter_by_id/fasta_filter_by_id.xml @@ -1,4 +1,4 @@ -