From b9ad3080858f1f15556f255cc5ec495ee3068e62 Mon Sep 17 00:00:00 2001 From: Jover Date: Wed, 14 Dec 2022 12:13:30 -0800 Subject: [PATCH 1/2] io: Add `open_file` and `write_sequences` to public API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From discussion on Slack¹ and in meeting, we decided to add `open_file` and `write_sequences` to our Public API. ¹ https://bedfordlab.slack.com/archives/C01LCTT7JNN/p1671046929525639 --- augur/io/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/augur/io/__init__.py b/augur/io/__init__.py index 31421f1e2..71fc4b073 100644 --- a/augur/io/__init__.py +++ b/augur/io/__init__.py @@ -2,5 +2,6 @@ """ # Functions and variables exposed here are part of Augur's public Python API. # To use functions internally, import directly from the submodule. +from .file import open_file from .metadata import read_metadata -from .sequences import read_sequences +from .sequences import read_sequences, write_sequences From 47056732fc0a8b9b7ef1ed4f716c4bbd0efe8900 Mon Sep 17 00:00:00 2001 From: Jover Date: Wed, 14 Dec 2022 12:22:13 -0800 Subject: [PATCH 2/2] Update changelog --- CHANGES.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 4a04634b6..edf79f773 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,11 @@ ## __NEXT__ +### Features + +* io: Add `open_file` and `write_sequences` to the Python Pubic API. [#1114][] (@joverlee521) + +[#1114]: https://github.com/nextstrain/augur/pull/1114 ## 19.0.0 (13 December 2022)