diff --git a/IPI_bombyx.py b/IPI_bombyx.py index c63f729b46fe3afaca906b572521b97da5d11351..d13b69724f641ebedcda999d822986a7d4c6cf9a 100644 --- a/IPI_bombyx.py +++ b/IPI_bombyx.py @@ -102,7 +102,7 @@ def main(args): ref_dict = ipi.init(os.path.join(args.wd, df.iloc[ind].filepredmax.strip('/')), args.channel) text_ax = plt.subplot(ref_dict['gridspec'][-1, -4:-2]) usr_files = [v for f in save for v in f.passage.unique() if v in file_list] - text = text_ax.text(0.5, 0.5, f'{len(file_list)} files done\n{len(usr_files)} by you', horizontalalignment='center', + text = text_ax.text(0.5, 0.5, f'{len(file_list)} files done\n{len(usr_files)}/{len(set(file_list))} by you', horizontalalignment='center', verticalalignment='center', transform=text_ax.transAxes) text_ax.axis('off') next_file = partial(_next_file, refs=ref_dict, order=samples_order, df=df, save=save, args=args, outpath=outpath,