From 8fcae87e552f2774b422df4753af6dcbd22da892 Mon Sep 17 00:00:00 2001
From: pcain-usgs <pcain@usgs.gov>
Date: Tue, 2 Jul 2019 16:31:17 -0600
Subject: [PATCH] Fixes issue 121

Verifies whether or not the filename created exists. If not, the function returns with no output. If the filename exists, an outpupt file is written.
---
 geomagio/imfv283/GOESIMFV283Factory.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/geomagio/imfv283/GOESIMFV283Factory.py b/geomagio/imfv283/GOESIMFV283Factory.py
index c7d471b4b..88af19678 100644
--- a/geomagio/imfv283/GOESIMFV283Factory.py
+++ b/geomagio/imfv283/GOESIMFV283Factory.py
@@ -181,9 +181,7 @@ class GOESIMFV283Factory(IMFV283Factory):
         buf.append('RETRANSMITTED: N\n')
         buf.append('ASCENDING_TIME: false\n')
         buf.append('RT_SETTLE_DELAY: true\n')
-        
         if os.path.exists(criteria_file) is not True: return
-
         with open(criteria_file, 'wb') as fh:
             fh.write(''.join(buf))
             fh.close()
\ No newline at end of file
-- 
GitLab