From ab25d8f88cdaa42d7dde2ac5c9d79f04a92779bb Mon Sep 17 00:00:00 2001 From: Merit Kayastha <90002479+mkayasth@users.noreply.github.com> Date: Mon, 6 May 2024 10:20:30 -0400 Subject: [PATCH] Update geneAnalysis.py --- geneAnalysis/geneAnalysis.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/geneAnalysis/geneAnalysis.py b/geneAnalysis/geneAnalysis.py index 56398e0..fecfdbb 100644 --- a/geneAnalysis/geneAnalysis.py +++ b/geneAnalysis/geneAnalysis.py @@ -8,7 +8,7 @@ # check if a reference genome is provided as a command-line argument. if len(sys.argv) < 2: - print("Usage: python3.11 geneAnalysis.py ") + print("Usage: python3 geneAnalysis.py ") sys.exit(1) # get the reference genome from the command-line argument. @@ -27,7 +27,7 @@ # function to run a Python script with additional arguments, if needed. def run_script(script_path, *args): - subprocess.run(['python3.11', script_path, *args], check=True) + subprocess.run(['python3', script_path, *args], check=True) # Calculate the average mutation rate (for a protein ~~ by comparing all with reference strain). def calculate_average_mutation_rate(csv_file): # avg of all strains compared to the reference genome from mutation_rates.csv.