From 75197f3faa0b7fdf8460fc7965d0e135b68b9b06 Mon Sep 17 00:00:00 2001 From: "James S. Halgren" Date: Mon, 13 Nov 2023 17:09:19 -0600 Subject: [PATCH 1/2] fix broken file write --- nwmurl/urlgennwm.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nwmurl/urlgennwm.py b/nwmurl/urlgennwm.py index abc7ed5..792d408 100644 --- a/nwmurl/urlgennwm.py +++ b/nwmurl/urlgennwm.py @@ -564,7 +564,7 @@ def generate_urls_operational( if write_to_file == True: if os.path.exists("filenamelist.txt"): os.remove("filenamelist.txt") - with open("filenamelist.txt", "wt") as file: - for item in file_list: - file.write(f"{item}\n") + with open("filenamelist.txt", "wt") as file: + for item in file_list: + file.write(f"{item}\n") return file_list From fef35fb75c20abefcfdf213cd162a0be4e70184f Mon Sep 17 00:00:00 2001 From: "James S. Halgren" Date: Mon, 13 Nov 2023 17:09:45 -0600 Subject: [PATCH 2/2] increment version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 33d5630..00a4651 100644 --- a/setup.py +++ b/setup.py @@ -33,7 +33,7 @@ """ # Other information -VERSION = "0.1.7" +VERSION = "0.1.8" DESCRIPTION = "URL generator tool for National Water Model data" setup(