From 791b5a8e413f2f339329d24f20f1ad891adba098 Mon Sep 17 00:00:00 2001 From: "Thulani Hewavithana (qnm481)" <qnm481@mail.usask.ca> Date: Tue, 20 Jun 2023 12:46:57 -0600 Subject: [PATCH] Replace gap_threshold_selection.py --- Scripts/gap_threshold_selection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/gap_threshold_selection.py b/Scripts/gap_threshold_selection.py index e976bd5..b1e00b1 100644 --- a/Scripts/gap_threshold_selection.py +++ b/Scripts/gap_threshold_selection.py @@ -28,7 +28,7 @@ def find_gaps(col, m): return gaps # Get the input file as an argument (collinear file) -input_file = sys.argv[1] +input_file = sys.argv[sys.argv.index('-i') + 1] # Convert the collinear file to a dataframe C_df_csv = pd.read_csv(input_file, sep=' ', header=None) -- GitLab