From 17afcc40b10a67daac1682a9d6a970f08c9e9c50 Mon Sep 17 00:00:00 2001 From: zssherman Date: Fri, 19 Jan 2024 10:06:20 -0600 Subject: [PATCH] FIX: Changes path to init instead of full path. --- pysp2/io/read_hk.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pysp2/io/read_hk.py b/pysp2/io/read_hk.py index b06dd3b..6319acc 100644 --- a/pysp2/io/read_hk.py +++ b/pysp2/io/read_hk.py @@ -27,10 +27,7 @@ def read_hk_file(file_name): The housekeeping information in a pandas DataFrame """ - try: - my_df = act.io.csvfiles.read_csv(file_name, sep="\t") - except AttributeError: - my_df = act.io.text.read_csv(file_name, sep="\t") + my_df = act.io.read_csv(file_name, sep="\t") # Parse time from filename start_time = pd.Timestamp('1904-01-01')