|
@@ -17,7 +17,7 @@ code_dir = os.path.dirname(os.path.abspath(__file__))
|
|
parent_dir = os.path.dirname(code_dir)
|
|
parent_dir = os.path.dirname(code_dir)
|
|
|
|
|
|
# Load the CSV data
|
|
# Load the CSV data
|
|
-input_file_path = os.path.join(parent_dir, 'output', "Quantitative_outputs", "onlyCST",'Quantitative_results_from_dwi_processing_withOutWM_and_partialCST.csv')
|
|
|
|
|
|
+input_file_path = os.path.join(parent_dir, 'output', "Quantitative_outputs",'Quantitative_results_from_dwi_processing_only_in_stroke_slices.csv')
|
|
df = pd.read_csv(input_file_path, low_memory=False)
|
|
df = pd.read_csv(input_file_path, low_memory=False)
|
|
|
|
|
|
# Initialize an empty list to store results
|
|
# Initialize an empty list to store results
|
|
@@ -106,7 +106,7 @@ with ThreadPoolExecutor(max_workers=6) as executor:
|
|
results_df = pd.DataFrame(results)
|
|
results_df = pd.DataFrame(results)
|
|
|
|
|
|
# Define output path for the new CSV
|
|
# Define output path for the new CSV
|
|
-output_file_path = os.path.join(parent_dir, 'output', "Quantitative_outputs", 'Significance_stroke_vs_sham_difference_withoutWMmask_partialCST.csv')
|
|
|
|
|
|
+output_file_path = os.path.join(parent_dir, 'output', "Quantitative_outputs", 'Significance_stroke_vs_sham_difference_withoutWMmask_only_in_stroke_slices.csv')
|
|
|
|
|
|
# Save results to CSV
|
|
# Save results to CSV
|
|
results_df.to_csv(output_file_path, index=False)
|
|
results_df.to_csv(output_file_path, index=False)
|