From 8d4b9e243c050119415028dd87cf0a1c8227a023 Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Fri, 2 Feb 2024 17:20:47 -0800 Subject: [PATCH] fixup! io: Split Metadata class into TabularFile and File --- augur/frequencies.py | 2 +- augur/refine.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/augur/frequencies.py b/augur/frequencies.py index 3afb47860..898f51d99 100644 --- a/augur/frequencies.py +++ b/augur/frequencies.py @@ -85,7 +85,7 @@ def format_frequencies(freq): def run(args): try: - metadata_object = Metadata(args.metadata, args.metadata_delimiters, args.metadata_id_columns) + metadata_object = Metadata(args.metadata, args.metadata_id_columns, delimiters=args.metadata_delimiters) except InvalidDelimiter: raise AugurError( f"Could not determine the delimiter of {args.metadata!r}. " diff --git a/augur/refine.py b/augur/refine.py index 95717861f..d2d90185f 100644 --- a/augur/refine.py +++ b/augur/refine.py @@ -215,7 +215,7 @@ def run(args): return 1 try: - metadata_object = Metadata(args.metadata, args.metadata_delimiters, args.metadata_id_columns) + metadata_object = Metadata(args.metadata, args.metadata_id_columns, delimiters=args.metadata_delimiters) except InvalidDelimiter: raise AugurError( f"Could not determine the delimiter of {args.metadata!r}. "