File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed
Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -74,10 +74,9 @@ def open_data_file(
7474 index_col = None ,
7575):
7676 """
77- Open a CSV data file safely and convert
78- expected errors into QuantifyingException.
79- This function is shared so all process/report
80- scripts use the same error behavior.
77+ Open a CSV data file safely and convert expected errors into
78+ QuantifyingException. This shared function ensures all process/report
79+ scripts benefit from the same error handling.
8180 """
8281 try :
8382 # Reading the file
@@ -98,12 +97,6 @@ def open_data_file(
9897 message = f"Permission denied when accessing data file: { file_path } " ,
9998 exit_code = 1 ,
10099 )
101- # Any other unexpected issue
102- except Exception as e :
103- raise QuantifyingException (
104- message = f"Unexpected error opening file '{ file_path } ': { str (e )} " ,
105- exit_code = 1 ,
106- )
107100
108101
109102def git_fetch_and_merge (args , repo_path , branch = None ):
You can’t perform that action at this time.
0 commit comments