From 648074580e61480f13a794e13f196fe4c0be3e5c Mon Sep 17 00:00:00 2001 From: jgunstone Date: Wed, 28 Jun 2023 16:34:42 +0100 Subject: [PATCH] updated the default paths such that both of the scripts can be run from the root repo --- tools/check-duplicates.py | 2 +- tools/sort.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/check-duplicates.py b/tools/check-duplicates.py index 353e754..f4efd45 100644 --- a/tools/check-duplicates.py +++ b/tools/check-duplicates.py @@ -38,7 +38,7 @@ def check_duplicates(filename): def main(): show_title() parser = argparse.ArgumentParser() - parser.add_argument("-i","--input", default="abbreviations.csv", help="Input CSV file to check for duplicates") + parser.add_argument("-i","--input", default="BDNS_Abbreviations_Register.csv", help="Input CSV file to check for duplicates") args = parser.parse_args() if exists(args.input): check_duplicates(args.input) diff --git a/tools/sort.py b/tools/sort.py index 149d766..36b5c53 100644 --- a/tools/sort.py +++ b/tools/sort.py @@ -64,7 +64,7 @@ def main(): parser.add_argument( "-i", "--input", - default="../BDNS_Abbreviations_Register.csv", + default="BDNS_Abbreviations_Register.csv", help="Input CSV file to check sorted", ) parser.add_argument(