diff --git a/code/post_processing/fine_mapping_post_processing.ipynb b/code/post_processing/fine_mapping_post_processing.ipynb index 79361c1e..1ee2165e 100644 --- a/code/post_processing/fine_mapping_post_processing.ipynb +++ b/code/post_processing/fine_mapping_post_processing.ipynb @@ -1877,7 +1877,7 @@ " if(length(conditions) > 0) {\n", " \n", " for(condition in conditions) {\n", - " dat_con <- dat_study${'' if multi_gene else [['condition']]}${[['fsusie_summary']] if fsusie else ''}\n", + " if (${\"FALSE\" if multi_gene else \"TRUE\"}) dat_con <- dat_study[[condition]]${[['fsusie_summary']] if fsusie else ''} else dat_con <- dat_study${[['fsusie_summary']] if fsusie else ''}\n", " if (${\"TRUE\" if gwas else \"FALSE\"}){\n", " method <- names(dat_study[[condition]])[names(dat_study[[condition]]) != 'rss_data_analyzed'] ## FIXME: this method is not showing in meta (not need if only one method). or we can use `context@method` in meta\n", " if(length(method) == 1) dat_con <- dat_con[[method]] else stop('more than 1 method, please check.')\n",