-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Flags --remove_keys_from_pickles #475
Conversation
Hi Quentin, thanks for your contribution! It may take some time before we review your pull request because @DimaMolod is away due to unforeseen events. |
Hi @Qrouger and thank you for your contributions to AlphaPulldown! Regarding the |
Hi, I tried to use --remove_keys_from_pickles=False on run_multimer_jobs.py, but ['aligned_confidence_probs', 'distogram', 'masked_msa'] from pkl file are already remove ! |
Hi, yes, I think I know where from the problem originates. I think the reason is the very counter-intuitive way of dealing with boolean flags in absl library.
|
--noremove_keys_from_pickles don't work too |
Thanks for reporting this. I indeed didn't test before that the keys are present after post_prediction_process() if |
I use AP 2.0.1, with this command run_multimer_jobs.py --mode=custom --num_cycle=3 --num_predictions_per_model=1 --compress_result_pickles=True --output_path=./result_all_vs_all --data_dir=/data/alphadata_v2 --protein_lists=all_vs_all.txt --monomer_objects_dir=/data/pickle_feature --remove_keys_from_pickles=false, for this interaction: P09783;P0A3W6 I0117 14:48:56.840612 134591756057472 post_modelling.py:65] Identified best pickle file: result_model_1_multimer_v3_pred_0.pkl |
Hi @Qrouger and thanks again for spotting this! |
Ok, I've just realised that my fix is identical to yours that you suggested 2 weeks ago :-) I'll merge the PR right away and thanks again for your contribution |
User can choose if some keys of pickle file are delete or not