From b978db95709703a2798aca79402019152861603c Mon Sep 17 00:00:00 2001 From: scheres Date: Mon, 29 Jul 2024 16:04:57 +0100 Subject: [PATCH] now also have to specify table name for optimiser.star --- scripts/filament_selection.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/filament_selection.in b/scripts/filament_selection.in index e6219405..3c0fa55d 100755 --- a/scripts/filament_selection.in +++ b/scripts/filament_selection.in @@ -412,7 +412,7 @@ def reorder_class_average_star_by_clustered(model_star_file: str, clustered: sns data_star = opt["rlnExperimentalDataStarFile"] shutil.copy(data_star, output_path+"_data.star") opt["rlnExperimentalDataStarFile"] = output_path+"_data.star" - starfile.write(opt, output_path+"_optimiser.star") + starfile.write({'optimiser_general' : opt}, output_path+"_optimiser.star") print("Saved optimiser.star with reordered classes as: ",output_path,"_optimiser.star") return reordered_classes_df