robert 2.2.0__tar.gz → 2.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {robert-2.2.0 → robert-2.2.2}/PKG-INFO +4 -3
- {robert-2.2.0 → robert-2.2.2}/README.md +2 -2
- {robert-2.2.0 → robert-2.2.2}/robert/__init__.py +4 -0
- robert-2.2.2/robert/_runtime.py +16 -0
- {robert-2.2.0 → robert-2.2.2}/robert/_version.py +1 -1
- {robert-2.2.0 → robert-2.2.2}/robert/checkml.py +41 -1
- {robert-2.2.0 → robert-2.2.2}/robert/curate.py +5 -2
- {robert-2.2.0 → robert-2.2.2}/robert/generate.py +3 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/knowledge/aqme_context.json +6 -6
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/knowledge/robert_context.json +4 -4
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/knowledge/ui_context.json +4 -4
- robert-2.2.2/robert/gui_easyrob/checkml_launcher.py +32 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/test_checkml_app_mode.py +1 -1
- {robert-2.2.0 → robert-2.2.2}/robert/predict.py +3 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report.py +60 -22
- robert-2.2.2/robert/reproducibility.py +94 -0
- {robert-2.2.0 → robert-2.2.2}/robert/robert.py +4 -25
- {robert-2.2.0 → robert-2.2.2}/robert/utils.py +40 -6
- {robert-2.2.0 → robert-2.2.2}/robert/verify.py +3 -0
- {robert-2.2.0 → robert-2.2.2}/robert.egg-info/PKG-INFO +4 -3
- {robert-2.2.0 → robert-2.2.2}/robert.egg-info/SOURCES.txt +6 -0
- {robert-2.2.0 → robert-2.2.2}/robert.egg-info/requires.txt +1 -0
- {robert-2.2.0 → robert-2.2.2}/setup.py +3 -2
- {robert-2.2.0 → robert-2.2.2}/tests/test_1curate.py +35 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_6checkml.py +24 -47
- robert-2.2.2/tests/test_checkml_cli.py +76 -0
- robert-2.2.2/tests/test_checkml_workflow.py +128 -0
- robert-2.2.2/tests/test_report_header_layout.py +40 -0
- robert-2.2.2/tests/test_reproducibility.py +101 -0
- robert-2.2.0/robert/gui_easyrob/checkml_launcher.py +0 -15
- {robert-2.2.0 → robert-2.2.2}/LICENSE +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/__main__.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/api.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/aqme.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/argument_parser.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/checkml_score.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/evaluate_bot_retrieval.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/evaluate_bot_support.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/evaluate_workflow_summaries.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/export_bot_docs_knowledge.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/generate_utils.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/__init__.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/assets/gif_easyrob.gif +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/__init__.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/answer_metadata.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/bot_context.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/bot_engine.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/bot_panel.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/bot_rag.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/bot_window.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/bot_worker.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/credential_store.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/error_parser.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/evidence_policy.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/heuristics.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/icons.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/input_csv_audit.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/knowledge_schema.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/knowledge_sources/aqme_user_guidance.json +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/knowledge_sources/coverage_manifest.json +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/knowledge_sources/robert_user_guidance.json +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/knowledge_sources/ui_user_guidance.json +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/llm_providers.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/online_docs.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/prompt_policy.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/question_intent.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/response_quality.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/result_insights.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/token_usage.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/bot/workflow_results.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/easyrob.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/easyrob_launcher.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/main/__init__.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/main/window.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/result_navigation.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tabs/__init__.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tabs/advanced_options.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tabs/aqme.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tabs/checkml.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tabs/images.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tabs/interactive_predictions.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tabs/molssi.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tabs/predictions.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tabs/result_catalog.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tabs/results.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tabs/results_workspace.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/test_bot_input_csv_audit.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/test_bot_question_routing.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/test_bot_result_analysis.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/test_bot_retrieval_evaluation.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/test_bot_ui_integration.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/test_checkml_completion.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/test_checkml_defaults.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/test_checkml_result_summary.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/test_checkml_web_mode.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/test_dialog_layout.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/test_gui_bot_regressions.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/test_molssi_auto.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/test_tutorial_view.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/check_model.md +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/chemdraw.md +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/csv.md +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/descriptors.md +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/overview.md +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/predictions.md +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/robbot.md +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/check_model/check_model_1.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/check_model/check_model_2.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/check_model/check_model_3.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/check_model/check_model_4.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/check_model/check_model_5.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/check_model/check_model_6.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/check_model/check_model_7.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/chemdraw/chemdraw_1.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/chemdraw/chemdraw_10.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/chemdraw/chemdraw_11.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/chemdraw/chemdraw_12.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/chemdraw/chemdraw_13.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/chemdraw/chemdraw_2.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/chemdraw/chemdraw_3.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/chemdraw/chemdraw_4.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/chemdraw/chemdraw_5.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/chemdraw/chemdraw_6.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/chemdraw/chemdraw_7.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/chemdraw/chemdraw_8.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/chemdraw/chemdraw_9.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/csv/csv_1.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/csv/csv_1_1.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/csv/csv_1_2.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/csv/csv_1_3.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/csv/csv_1_4.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/csv/csv_1_5.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/csv/csv_2.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/csv/csv_3.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/csv/csv_4.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/csv/csv_5.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/csv/csv_6.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/csv/csv_7.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/csv/csv_8.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/csv/csv_9.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/descriptors/descriptors_1.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/descriptors/descriptors_2.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/descriptors/descriptors_3.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/descriptors/descriptors_4.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/descriptors/descriptors_5.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/descriptors/descriptors_6.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/overview/overview_1.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/overview/overview_1_1.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/overview/overview_1_2.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/overview/overview_1_3.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/overview/overview_1_4.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/overview/overview_1_5.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/overview/overview_1_6.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/overview/overview_1_7.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/overview/overview_1_8.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/overview/overview_2.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/overview/overview_3.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/overview/overview_4.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/overview/overview_5.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/overview/overview_5_1.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/overview/overview_5_2.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/overview/overview_5_3.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/overview/overview_6.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/predictions/predictions_1.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/predictions/predictions_1_1.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/predictions/predictions_2.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/predictions/predictions_3.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/predictions/predictions_4.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/predictions/predictions_5.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/predictions/predictions_6.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/robbot/robbot_1.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/robbot/robbot_2.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/robbot/robbot_3.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/robbot/robbot_4.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/robbot/robbot_5.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/robbot/robbot_6.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/robbot/robbot_7.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/tutorials/tutorial_images/robbot/robbot_8.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/utils/__init__.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/utils/aqme_utils.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/utils/molssi_utils.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/utils/predictions_utils.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/utils/utils_gui.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/version.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/web/app.css +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/web/app.html +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/web/app.js +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/web/checkml_brand.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/web/easyrob_background.gif +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/web/easyrob_background.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/web/images.css +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/web/images.html +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/web/images.js +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/web/results.js +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/web/robert_brand.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/web_dialogs.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/web_results.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/web_shell.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/workflow_progress.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/gui_easyrob/workflow_run_lock.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/icons/CheckML_icon.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/icons/Robert_icon.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/icons/Robert_logo.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/icons/Robert_logo_transparent.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/icons/documentation_icon.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/icons/info_icon.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/icons/pdf_icon.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/icons/play_icon.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/icons/stop_icon.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/icons/youtube_icon.ico +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/predict_utils.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/CheckML_logo.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/GENERATE.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/Robert_icon.ico +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/Robert_logo.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/Robert_logo1.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/abbrev.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/adv_anal.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/checkml_pass.svg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/checkml_unclear.svg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/checkml_warning.svg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/features.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/outliers.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/pred.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/repro.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/robust_x.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/robust_y_high.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/robust_y_low.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_0.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_1.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_10.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_2.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_3.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_4.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_5.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_6.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_7.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_8.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_9.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_gray_0.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_gray_1.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_gray_10.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_gray_2.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_gray_3.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_gray_4.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_gray_5.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_gray_6.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_gray_7.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_gray_8.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_gray_9.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_w_1_0.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_w_1_1.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_w_2_0.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_w_2_1.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_w_2_2.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_w_2_gray_0.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_w_2_gray_1.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_w_2_gray_2.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_w_3_0.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_w_3_1.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_w_3_2.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_w_3_3.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_w_4_0.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_w_4_1.JPG +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_w_4_2.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_w_4_3.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/score_w_4_4.jpg +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/transpa.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report/y_distrib.png +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert/report_utils.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert.egg-info/dependency_links.txt +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert.egg-info/entry_points.txt +0 -0
- {robert-2.2.0 → robert-2.2.2}/robert.egg-info/top_level.txt +0 -0
- {robert-2.2.0 → robert-2.2.2}/setup.cfg +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_2generate.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_3verify.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_4predict.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_5aqme_n_full.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_7api.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_all_models_completion.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_all_models_option.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_all_models_results.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_aqme_output_paths.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_aqme_workspace.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_bot_compact_core.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_bot_compact_gui.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_checkml_tab_refresh.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_csv_preflight.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_easyrob.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_full_data_cv.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_images_web.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_images_webengine.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_interactive_prediction_names.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_interactive_predictions.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_linear_model_curation.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_messagebox_modality.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_molssi_utils.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_release_version_gate.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_report_boundary_warnings.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_split_selection.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_web_dashboard_webengine.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_web_results.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_web_shell.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_web_shell_csv.py +0 -0
- {robert-2.2.0 → robert-2.2.2}/tests/test_worker_unicode.py +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: robert
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.2
|
|
4
4
|
Summary: Refiner and Optimizer of a Bunch of Existing Regression Tools
|
|
5
|
-
Home-page: https://github.com/
|
|
6
|
-
Download-URL: https://github.com/
|
|
5
|
+
Home-page: https://github.com/TheAlegreGroup/robert
|
|
6
|
+
Download-URL: https://github.com/TheAlegreGroup/robert/archive/refs/tags/2.2.2.tar.gz
|
|
7
7
|
Author: Juan V. Alegre Requena, David Dalmau
|
|
8
8
|
Author-email: jv.alegre@csic.es
|
|
9
9
|
License: MIT
|
|
@@ -25,6 +25,7 @@ Requires-Dist: progress==1.6.1
|
|
|
25
25
|
Requires-Dist: seaborn==0.13.2
|
|
26
26
|
Requires-Dist: scipy==1.18.0
|
|
27
27
|
Requires-Dist: scikit-learn==1.9.0
|
|
28
|
+
Requires-Dist: threadpoolctl==3.7.0
|
|
28
29
|
Requires-Dist: bayesian-optimization==3.3.0
|
|
29
30
|
Requires-Dist: numba==0.62.1
|
|
30
31
|
Requires-Dist: shap==0.52.0
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
## <p align="center"> ROBERT (Refiner and Optimizer of a Bunch of Existing Regression Tools)</p>
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
[](https://app.circleci.com/pipelines/github/TheAlegreGroup/robert)
|
|
7
|
+
[](https://codecov.io/gh/TheAlegreGroup/robert)
|
|
8
8
|
[](https://www.pepy.tech/projects/robert)
|
|
9
9
|
[](https://robert.readthedocs.io/)
|
|
10
10
|
[](https://pypi.org/project/robert/)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"""Numerical environment bootstrap; keep this module free of scientific imports."""
|
|
2
|
+
|
|
3
|
+
import os
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def configure_environment():
|
|
7
|
+
"""Set startup defaults before NumPy/SciPy initialize their native libraries."""
|
|
8
|
+
for name in ('OMP_NUM_THREADS', 'OPENBLAS_NUM_THREADS', 'MKL_NUM_THREADS',
|
|
9
|
+
'VECLIB_MAXIMUM_THREADS', 'NUMEXPR_NUM_THREADS', 'BLIS_NUM_THREADS'):
|
|
10
|
+
os.environ.setdefault(name, '1')
|
|
11
|
+
os.environ.setdefault('LOKY_MAX_CPU_COUNT', '1')
|
|
12
|
+
requested = os.environ.get('ROBERT_OPENBLAS_CORETYPE', '').strip()
|
|
13
|
+
if requested:
|
|
14
|
+
# This is opt-in. Validate the actual loaded kernels when a workflow runs;
|
|
15
|
+
# changing an environment variable cannot reconfigure an initialized BLAS.
|
|
16
|
+
os.environ['OPENBLAS_CORETYPE'] = requested
|
|
@@ -59,6 +59,8 @@ Affect VERIFY and PREDICT
|
|
|
59
59
|
# used to evaluate existing models #
|
|
60
60
|
#####################################################.
|
|
61
61
|
|
|
62
|
+
from robert.reproducibility import reproducible
|
|
63
|
+
|
|
62
64
|
import os
|
|
63
65
|
import sys
|
|
64
66
|
import json
|
|
@@ -113,7 +115,7 @@ def smiles_columns(csv_name):
|
|
|
113
115
|
|
|
114
116
|
class checkml:
|
|
115
117
|
"""
|
|
116
|
-
|
|
118
|
+
Evaluate a model and generate its analyses and PDF report in one call.
|
|
117
119
|
|
|
118
120
|
Parameters
|
|
119
121
|
----------
|
|
@@ -121,7 +123,18 @@ class checkml:
|
|
|
121
123
|
Specify any arguments from the CHECKML module (for a complete list of variables, visit the ROBERT documentation)
|
|
122
124
|
"""
|
|
123
125
|
|
|
126
|
+
@reproducible
|
|
124
127
|
def __init__(self, **kwargs):
|
|
128
|
+
# Use the same evaluation path for notebooks, scripts, and the CLI.
|
|
129
|
+
kwargs['checkml'] = True
|
|
130
|
+
for option in ('ignore', 'discard'):
|
|
131
|
+
if option in kwargs:
|
|
132
|
+
kwargs[option] = list(kwargs[option])
|
|
133
|
+
self._prepare(**kwargs)
|
|
134
|
+
self._run_workflow(kwargs)
|
|
135
|
+
|
|
136
|
+
def _prepare(self, **kwargs):
|
|
137
|
+
"""Validate the input and save the model and evaluation data."""
|
|
125
138
|
|
|
126
139
|
start_time = time.time()
|
|
127
140
|
|
|
@@ -202,6 +215,33 @@ class checkml:
|
|
|
202
215
|
# finish the printing of the CHECKML info file
|
|
203
216
|
_ = finish_print(self,start_time,'CHECKML')
|
|
204
217
|
|
|
218
|
+
def _run_workflow(self, kwargs):
|
|
219
|
+
"""Run the analyses and PDF generation after successful preparation."""
|
|
220
|
+
from robert.curate import curate
|
|
221
|
+
from robert.verify import verify
|
|
222
|
+
from robert.predict import predict
|
|
223
|
+
from robert.report import report
|
|
224
|
+
|
|
225
|
+
# Keep user options (including model objects) without forwarding internal
|
|
226
|
+
# attributes such as the closed CHECKML logger or its output directory.
|
|
227
|
+
options = dict(kwargs)
|
|
228
|
+
for option in ('csv_name', 'names', 'y', 'type'):
|
|
229
|
+
options[option] = getattr(self.args, option)
|
|
230
|
+
# Preparation already excludes names and optional SMILES columns.
|
|
231
|
+
options['ignore'] = list(self.args.ignore)
|
|
232
|
+
|
|
233
|
+
# In CheckML mode CURATE only creates the descriptor correlation matrix.
|
|
234
|
+
curate(**options)
|
|
235
|
+
|
|
236
|
+
# The saved evaluation database also contains the generated Set column.
|
|
237
|
+
options['ignore'] = list(options['ignore'])
|
|
238
|
+
if 'Set' not in options['ignore']:
|
|
239
|
+
options['ignore'].append('Set')
|
|
240
|
+
verify(**options)
|
|
241
|
+
predict(**options)
|
|
242
|
+
print('o Starting REPORT module', flush=True)
|
|
243
|
+
report(**options)
|
|
244
|
+
|
|
205
245
|
def clean_eval(self):
|
|
206
246
|
'''
|
|
207
247
|
Cleans folders from previous runs
|
|
@@ -63,6 +63,8 @@ Parameters
|
|
|
63
63
|
#####################################################.
|
|
64
64
|
|
|
65
65
|
import time
|
|
66
|
+
from robert.reproducibility import reproducible
|
|
67
|
+
|
|
66
68
|
import os
|
|
67
69
|
import json
|
|
68
70
|
import pandas as pd
|
|
@@ -80,6 +82,7 @@ class curate:
|
|
|
80
82
|
Specify any arguments from the CURATE module (for a complete list of variables, visit the ROBERT documentation)
|
|
81
83
|
"""
|
|
82
84
|
|
|
85
|
+
@reproducible
|
|
83
86
|
def __init__(self, **kwargs):
|
|
84
87
|
|
|
85
88
|
start_time = time.time()
|
|
@@ -100,8 +103,8 @@ class curate:
|
|
|
100
103
|
# apply duplicate filters (i.e., duplication of datapoints or descriptors)
|
|
101
104
|
csv_df = self.dup_filter(csv_df)
|
|
102
105
|
|
|
103
|
-
# apply the correlation
|
|
104
|
-
if self.args.corr_filter_x or self.args.corr_filter_y:
|
|
106
|
+
# apply the correlation and/or RFECV/PFI filters
|
|
107
|
+
if self.args.corr_filter_x or self.args.corr_filter_y or self.args.rfecv_filter:
|
|
105
108
|
csv_df_result = correlation_filter(self,csv_df)
|
|
106
109
|
# Check if result is a tuple (model-specific CSVs) or single dataframe
|
|
107
110
|
if isinstance(csv_df_result, tuple):
|
|
@@ -94,6 +94,8 @@ Parameters
|
|
|
94
94
|
# used in model generation #
|
|
95
95
|
#####################################################.
|
|
96
96
|
|
|
97
|
+
from robert.reproducibility import reproducible
|
|
98
|
+
|
|
97
99
|
import os
|
|
98
100
|
import time
|
|
99
101
|
from robert.utils import (
|
|
@@ -123,6 +125,7 @@ class generate:
|
|
|
123
125
|
Specify any arguments from the GENERATE module (for a complete list of variables, visit the ROBERT documentation)
|
|
124
126
|
"""
|
|
125
127
|
|
|
128
|
+
@reproducible
|
|
126
129
|
def __init__(self, **kwargs):
|
|
127
130
|
|
|
128
131
|
start_time = time.time()
|
|
@@ -938,7 +938,7 @@
|
|
|
938
938
|
"source_file": "Examples/examples_commandline/end_to_end/example_1.rst",
|
|
939
939
|
"source_tier": "reference",
|
|
940
940
|
"tab": "AQME",
|
|
941
|
-
"text": "Along the steps of this example workflow we will show how to: \n\ni) Generate different conformers of the molecule using CSEARCH\nii) Generate the inputs for the QM geometry optimization\niii) Fix error terminations and imaginary frequencies of the output files\niv) Calculation and analyze the NMR chemical shifts for the conformers\n generated.\nv) Use GoodVibes to calculate the Boltzmann distributions using Gibbs free\n energies at 298.15 K\n\nSpecifically, in this example we will calculate the NMR chemical shifts of the strychnine\nstarting from the smiles representation of said molecule that we can see below. \n\n A jupyter notebook containing all the steps shown in this example can be found \n in the AQME repository in Github <https://github.com/
|
|
941
|
+
"text": "Along the steps of this example workflow we will show how to: \n\ni) Generate different conformers of the molecule using CSEARCH\nii) Generate the inputs for the QM geometry optimization\niii) Fix error terminations and imaginary frequencies of the output files\niv) Calculation and analyze the NMR chemical shifts for the conformers\n generated.\nv) Use GoodVibes to calculate the Boltzmann distributions using Gibbs free\n energies at 298.15 K\n\nSpecifically, in this example we will calculate the NMR chemical shifts of the strychnine\nstarting from the smiles representation of said molecule that we can see below. \n\n A jupyter notebook containing all the steps shown in this example can be found \n in the AQME repository in Github <https://github.com/TheAlegreGroup/aqme>_ or in \n Figshare <https://figshare.com/articles/dataset/AQME_paper_examples/20043665>_\n\n A video tutorial illustrating this example can be found \n in our youtube channel <https://www.youtube.com/watch?v=d4mQoE8gPJw>_",
|
|
942
942
|
"title": "Strychnine",
|
|
943
943
|
"topic": "output"
|
|
944
944
|
},
|
|
@@ -963,7 +963,7 @@
|
|
|
963
963
|
"source_file": "Examples/examples_commandline/end_to_end/example_2.rst",
|
|
964
964
|
"source_tier": "reference",
|
|
965
965
|
"tab": "AQME",
|
|
966
|
-
"text": "Along the steps of this example workflow we will show how to: \n\ni) Generate different conformers of molecules and noncovalent complexes using CREST\nii) Generate the inputs for Gaussian geometry optimizations and frequency calcs\n (B3LYP/def2TZVP)\niii) Fixing errors and imaginary frequencies of the output LOG files\niv) Generate ORCA inputs for single-point energy corrections (SPC) using\n DLPNO-CCSD(T)/def2TZVPP\nv) Calculate the Boltzmann weighted thermochemistry using with GoodVibes at\n 298.15 K\n\nSpecifially in this workflow we will calculate the free energy profile \nfor the Diels-Alder reaction for three pairs of reactants shown below:\n\n A jupyter notebook containing all the steps shown in this example can be found \n in the AQME repository in Github <https://github.com/
|
|
966
|
+
"text": "Along the steps of this example workflow we will show how to: \n\ni) Generate different conformers of molecules and noncovalent complexes using CREST\nii) Generate the inputs for Gaussian geometry optimizations and frequency calcs\n (B3LYP/def2TZVP)\niii) Fixing errors and imaginary frequencies of the output LOG files\niv) Generate ORCA inputs for single-point energy corrections (SPC) using\n DLPNO-CCSD(T)/def2TZVPP\nv) Calculate the Boltzmann weighted thermochemistry using with GoodVibes at\n 298.15 K\n\nSpecifially in this workflow we will calculate the free energy profile \nfor the Diels-Alder reaction for three pairs of reactants shown below:\n\n A jupyter notebook containing all the steps shown in this example can be found \n in the AQME repository in Github <https://github.com/TheAlegreGroup/aqme>_ or in \n Figshare <https://figshare.com/articles/dataset/AQME_paper_examples/20043665>_",
|
|
967
967
|
"title": "Diels-Alder reactions",
|
|
968
968
|
"topic": "output"
|
|
969
969
|
},
|
|
@@ -1163,7 +1163,7 @@
|
|
|
1163
1163
|
"source_file": "Examples/examples_commandline/end_to_end/example_3.rst",
|
|
1164
1164
|
"source_tier": "reference",
|
|
1165
1165
|
"tab": "AQME",
|
|
1166
|
-
"text": "Along the steps of this example workflow we will show how to: \n\ni) RDKit conformer sampling\nii) xTB porperty calculations to determine molecular and atomic\n properties\niii) Generate a GNN model to predict solubility\n\nSpecifically in this example we will calculate descriptors of a set of molecules\nrepresented by smiles with the aim of training a Graph Neural Network (GNN) \ncapable of predicting their solubility.\n\nThe set of molecules that we will use are in a file named 'solubility.csv' \nthat has the following contents:\n\n A jupyter notebook containing all the steps shown in this example can be found \n in the AQME repository in Github <https://github.com/
|
|
1166
|
+
"text": "Along the steps of this example workflow we will show how to: \n\ni) RDKit conformer sampling\nii) xTB porperty calculations to determine molecular and atomic\n properties\niii) Generate a GNN model to predict solubility\n\nSpecifically in this example we will calculate descriptors of a set of molecules\nrepresented by smiles with the aim of training a Graph Neural Network (GNN) \ncapable of predicting their solubility.\n\nThe set of molecules that we will use are in a file named 'solubility.csv' \nthat has the following contents:\n\n A jupyter notebook containing all the steps shown in this example can be found \n in the AQME repository in Github <https://github.com/TheAlegreGroup/aqme>_ or in \n Figshare <https://figshare.com/articles/dataset/AQME_paper_examples/20043665>_",
|
|
1167
1167
|
"title": "Solubility descriptors",
|
|
1168
1168
|
"topic": "output"
|
|
1169
1169
|
},
|
|
@@ -1738,7 +1738,7 @@
|
|
|
1738
1738
|
"source_file": "Examples/examples_python/examples_python.rst",
|
|
1739
1739
|
"source_tier": "reference",
|
|
1740
1740
|
"tab": "AQME",
|
|
1741
|
-
"text": "The examples shown here can be run from the python prompt or from jupyter \nnotebooks. Many pre-defined jupyter notebooks can be downloaded from GitHub in the Example_workflows folder <https://github.com/
|
|
1741
|
+
"text": "The examples shown here can be run from the python prompt or from jupyter \nnotebooks. Many pre-defined jupyter notebooks can be downloaded from GitHub in the Example_workflows folder <https://github.com/TheAlegreGroup/aqme/tree/master/Example_workflows>_.\n\n descriptor_generation\n conformer_search\n qm_input_generation\n correction_qm_output\n end_to_end",
|
|
1742
1742
|
"title": "Examples Jupyter Notebook",
|
|
1743
1743
|
"topic": "output"
|
|
1744
1744
|
},
|
|
@@ -1963,7 +1963,7 @@
|
|
|
1963
1963
|
"source_file": "README.rst",
|
|
1964
1964
|
"source_tier": "reference",
|
|
1965
1965
|
"tab": "AQME",
|
|
1966
|
-
"text": "Using AQME in Jupyter Notebooks\n\nThere are multiple ready-to-use workflows presented as jupyter notebooks in the \nin the aqme repository in \nExample_Workflows <https://github.com/
|
|
1966
|
+
"text": "Using AQME in Jupyter Notebooks\n\nThere are multiple ready-to-use workflows presented as jupyter notebooks in the \nin the aqme repository in \nExample_Workflows <https://github.com/TheAlegreGroup/aqme/tree/master/Example_workflows>_ \nfolder. Some examples are: \n\n CSEARCH_CMIN_conformer_generation folder --> CSEARCH/CMIN conformational \n sampling from SMILES and creation of QM input files \n QCORR_processing_QM_outputs --> QCORR analysis of Gaussian output files, \n generation of JSON files with all the information and creation of new QM input \n files \n QPREP_generating_input_files --> QPREP preparation of input files for \n Gaussian, ORCA and PySCF from LOG/OUT, SDF and JSON files\n\n For a more examples please see the 'Examples/Examples Python' section \n in our ReadtheDocs <https://aqme.readthedocs.io>_ page. \n\nUsing AQME through the command line\n\nCSEARCH examples\n. Conformer generation with one SMILES and name using RDKit or CREST (use rdkit or crest in --program): \n\nConformer generation with multiple SMILES and names (i.e. from a database in CSV format):\n\n The csv file must contain the list of SMILES in a column called \"SMILES\" and \n the corresponding names in a column called \"code_name\" \n (see Example_workflows for more information)\n\nCMIN examples\n. Geometry optimization with xTB or ANI (use xtb or ani in --program; use sdf, xyz, com/gjf or pdb in --files):\n\nQPREP examples\n. Input file generation from SDF, JSON and LOG/OUT files (replace \"\\.sdf\" for the corresponding format):\n\nQCORR examples\n. Analysis of Gaussian output files and JSON file generation:",
|
|
1967
1967
|
"title": "Quickstart",
|
|
1968
1968
|
"topic": "output"
|
|
1969
1969
|
},
|
|
@@ -1988,7 +1988,7 @@
|
|
|
1988
1988
|
"source_file": "README.rst",
|
|
1989
1989
|
"source_tier": "reference",
|
|
1990
1990
|
"tab": "AQME",
|
|
1991
|
-
"text": "Installation of AQME (only once)\n\nYou need a Python environment to install and run AQME. These are some suggested first steps: \n\n1. Install Anaconda with Python 3 <https://docs.anaconda.com/free/anaconda/install>_ for your \noperating system (Windows, macOS or Linux). Alternatively, if you're familiar with conda installers, \nyou can install Miniconda with Python 3 <https://docs.conda.io/projects/miniconda/en/latest/miniconda-install.html>_ \n(requires less space than Anaconda). \n\n2. Open an Anaconda prompt (Windows users) or a terminal (macOS and Linux).\n\n3. Create a conda environment called \"aqme\" with Python (conda create -n aqme python=3.12). \nbr\nThis is an example for Python 3.12, but it also works for newer Python versions (i.e., 3.11, 3.12, 3.13...).\n\n4. Activate the conda environment called \"aqme\" (conda activate aqme).\n\n5. Install AQME as defined in the \"Installation\" section (pip install aqme).\n\n6. Install OpenBabel as defined in the \"Installation\" section (conda install -y -c conda-forge openbabel=3.1.1).\n\nUsing AQME through Jupyter Notebooks\n\nThis is the recommended option, since Jupyter Notebooks can be easily shared and reused, and the resulting QM workflows become very transparent.\n\n7. Open the Jupyter Notebook from your file browser with Visual Studio Code <https://code.visualstudio.com/download>_ (then, install the Jupyter Notebook extension), Anaconda <https://docs.anaconda.com/free/anaconda/install>_ or your favorite platform.\n\n8. Run the code blocks inside the Jupyter Notebook, selecting the \"aqme\" environment when prompted.\n\n There are many pre-defined Jupyter Notebooks available from GitHub in the Example_workflows folder <https://github.com/
|
|
1991
|
+
"text": "Installation of AQME (only once)\n\nYou need a Python environment to install and run AQME. These are some suggested first steps: \n\n1. Install Anaconda with Python 3 <https://docs.anaconda.com/free/anaconda/install>_ for your \noperating system (Windows, macOS or Linux). Alternatively, if you're familiar with conda installers, \nyou can install Miniconda with Python 3 <https://docs.conda.io/projects/miniconda/en/latest/miniconda-install.html>_ \n(requires less space than Anaconda). \n\n2. Open an Anaconda prompt (Windows users) or a terminal (macOS and Linux).\n\n3. Create a conda environment called \"aqme\" with Python (conda create -n aqme python=3.12). \nbr\nThis is an example for Python 3.12, but it also works for newer Python versions (i.e., 3.11, 3.12, 3.13...).\n\n4. Activate the conda environment called \"aqme\" (conda activate aqme).\n\n5. Install AQME as defined in the \"Installation\" section (pip install aqme).\n\n6. Install OpenBabel as defined in the \"Installation\" section (conda install -y -c conda-forge openbabel=3.1.1).\n\nUsing AQME through Jupyter Notebooks\n\nThis is the recommended option, since Jupyter Notebooks can be easily shared and reused, and the resulting QM workflows become very transparent.\n\n7. Open the Jupyter Notebook from your file browser with Visual Studio Code <https://code.visualstudio.com/download>_ (then, install the Jupyter Notebook extension), Anaconda <https://docs.anaconda.com/free/anaconda/install>_ or your favorite platform.\n\n8. Run the code blocks inside the Jupyter Notebook, selecting the \"aqme\" environment when prompted.\n\n There are many pre-defined Jupyter Notebooks available from GitHub in the Example_workflows folder <https://github.com/TheAlegreGroup/aqme/tree/master/Example_workflows>_.\n\nUsing AQME through the command line\n\n7. Open an Anaconda prompt (Windows users) or a terminal (macOS and Linux).\n\n8. Activate the conda environment called \"aqme\" (conda activate aqme).\n\n9. Go to the folder where you want to run the program and have the input files, if any (using the \"cd\" command, i.e. cd C:/Users/test_aqme).\n\n10. Run AQME as explained in the Examples Command Line section.",
|
|
1992
1992
|
"title": "Users with no Python experience",
|
|
1993
1993
|
"topic": "output"
|
|
1994
1994
|
},
|
|
@@ -1362,7 +1362,7 @@
|
|
|
1362
1362
|
"source_file": "Examples/full_workflow/full_workflow.rst",
|
|
1363
1363
|
"source_tier": "reference",
|
|
1364
1364
|
"tab": "Reports",
|
|
1365
|
-
"text": "Overview\n\nRequired inputs\n\n Robert_example.csv: CSV file with data to use as the training and validation sets. The full CSV file can be \n found in the \"Examples\" folder of the ROBERT repository <https://github.com/
|
|
1365
|
+
"text": "Overview\n\nRequired inputs\n\n Robert_example.csv: CSV file with data to use as the training and validation sets. The full CSV file can be \n found in the \"Examples\" folder of the ROBERT repository <https://github.com/TheAlegreGroup/robert/tree/master/Examples/CSV_workflow>_ \n or downloaded here: csv_FW\n\nExecuting the job\n\nInstructions:\n\n1. Download the Robert_example.csv file specified in Required inputs.\n2. Go to the folder containing the CSV file in your terminal (using the \"cd\" command, i.e. cd C:/Users/test_robert).\n3. Activate the conda environment where ROBERT was installed (conda activate robert).\n4. Run the following command line:\n\nOptions used:\n\n --names Name: Name of the column containing the names of the datapoints. This feature allows to print the names of the outlier points (if any). \n\n --y Target_values: Name of the column containing the response y values. \n\n --csv_name Robert_example.csv: CSV with the database. \n\nExecution time and versions\n\nTime: ~3.5 min\n\nSystem: 8 processors (11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz) using 16.0 GB RAM memory\n\nROBERT version: 2.0.1\n\nscikit-learn-intelex version: 2025.2.0\n\nResults\n\nA PDF file called ROBERT_report.pdf should be created in the folder where ROBERT was executed. The PDF file can be visualized here: pdf_report_test\n\nThe PDF report contains all the results of the workflow. In this case, two Neural Network (NN) models were the optimal model found from: \n\n * Four different models (Gradient Boosting GB, MultiVariate Linear MVL, Neural Network NN, Random Forest RF) \n\nThe first part of the PDF file is shown below as a preview:\n\npdf_preview",
|
|
1366
1366
|
"title": "Full workflow from CSV",
|
|
1367
1367
|
"topic": "results"
|
|
1368
1368
|
},
|
|
@@ -1412,7 +1412,7 @@
|
|
|
1412
1412
|
"source_file": "Examples/full_workflow/smiles_workflow.rst",
|
|
1413
1413
|
"source_tier": "reference",
|
|
1414
1414
|
"tab": "Reports",
|
|
1415
|
-
"text": "Overview\n\nReproducibility warning\n\n Update to AQME v1.6.0 or higher to obtain fully reproducible results! You can do it with pip install aqme --upgrade.\n Otherwise, it may not be possible to exactly reproduce the results due to subtle differences in the \n generated xTB descriptors (0.1% changes in most cases).\n\nRequired inputs\n\n solubility_short.csv: CSV file with SMILES to generate descriptors that will be used as the training and validation sets. The full CSV file can be found in the Examples folder of the ROBERT repository <https://github.com/
|
|
1415
|
+
"text": "Overview\n\nReproducibility warning\n\n Update to AQME v1.6.0 or higher to obtain fully reproducible results! You can do it with pip install aqme --upgrade.\n Otherwise, it may not be possible to exactly reproduce the results due to subtle differences in the \n generated xTB descriptors (0.1% changes in most cases).\n\nRequired inputs\n\n solubility_short.csv: CSV file with SMILES to generate descriptors that will be used as the training and validation sets. The full CSV file can be found in the Examples folder of the ROBERT repository <https://github.com/TheAlegreGroup/robert/tree/master/Examples/SMILES_workflow>_ or downloaded here: csv_smi\n\nThe CSV database contains the following columns:\n\n code_name: compound names. \n\n smiles: SMILES strings of the compounds. \n\n solubility: solubility of the compounds. \n\nRequired packages\n\n Openbabel: Install Openbabel with conda-forge:\n\n Due to an update in the libgfortran library, xTB and CREST may encounter issues during optimizations. If you plan to use them, please make sure to run the following command after installing them:\n\nExecuting the job\n\nInstructions:\n\n1. Install the programs specified in Required packages.\n2. Download the solubility_short.csv file specified in Required inputs.\n3. Go to the folder containing the CSV file in your terminal (using the \"cd\" command, i.e. cd C:/Users/test_robert).\n4. Activate the conda environment where ROBERT was installed (conda activate robert).\n5. Run the following command line:\n\nOptions used:\n\n --aqme: Calls the AQME module to convert SMILES into RDKit and xTB descriptors, retrieving a new CSV database. \n\n --y solubility: Name of the column containing the response y values. \n\n --csv_name solubility_short.csv: CSV with the SMILES strings. \n\nBy default, the workflow sets:\n\n --ignore \"[code_name]\" (variables ignored in the model)\n\n --discard \"[smiles]\" (variables discarded after descriptor generation)\n\n --names code_name (name of the column containing the names of the datapoints) \n\nExecution time and versions\n\nTime: ~1.5 min\n\nSystem: 4 processors (Intel Xeon Ice Lake 8352Y) using 8.0 GB RAM memory\n\nROBERT version: 1.2.0\n\nscikit-learn-intelex version: 2024.5.0\n\nAQME version: 1.6.1\n\nxTB version: 6.6.1\n\nResults\n\nInitial AQME workflow\n\n The workflow starts with a CSEARCH-RDKit conformer sampling (using RDKit by default, although CREST is also available if --csearch_keywords \"--program crest\" is added).\n\n Then, QDESCP is used to generate more than 200 RDKit and xTB Boltzmann-averaged molecular descriptors (using xTB geometry optimizations and different single-point calculations).\n\nA CSV file called AQME-ROBERT_solubility_short.csv should be created in the folder where ROBERT was executed. The CSV \nfile can be downloaded here: csv_report_smi\n\nFollowing ROBERT workflow\n\nA PDF file called ROBERT_report.pdf should be created in the folder where ROBERT was executed. The PDF \nfile can be visualized here: pdf_report_smiles\n\nThe PDF report contains all the results of the workflow. In this case, two Random Forest (RF) models with 70% training sizes were the optimal models found from: \n\n Four different models (Gradient Boosting GB, MultiVariate Linear MVL, Neural Network NN, Random Forest RF) \n * Two different partition sizes (60%, 70%) \n\nThe first part of the PDF file is shown below as a preview:\n\npdf_preview",
|
|
1416
1416
|
"title": "Full workflow from SMILES",
|
|
1417
1417
|
"topic": "results"
|
|
1418
1418
|
},
|
|
@@ -2275,7 +2275,7 @@
|
|
|
2275
2275
|
"source_file": "Examples/modules/curation.rst",
|
|
2276
2276
|
"source_tier": "reference",
|
|
2277
2277
|
"tab": "ROBERT",
|
|
2278
|
-
"text": "Overview\n\nRequired inputs\n\n Robert_example.csv: CSV file with data to curate. The full CSV file can be found in the Examples folder of the ROBERT repository <https://github.com/
|
|
2278
|
+
"text": "Overview\n\nRequired inputs\n\n Robert_example.csv: CSV file with data to curate. The full CSV file can be found in the Examples folder of the ROBERT repository <https://github.com/TheAlegreGroup/robert/tree/master/Examples/CSV_workflow>_ or downloaded here: csv_FW\n\nExecuting the job\n\nInstructions:\n\n1. First, go to the folder containing the CSV files in your terminal.\n2. Run the following command line:\n\nOptions used: \n\n --names Name: Name of the column containing the names of the datapoints. \n\n --y Target_values: Name of the column containing the response y values. \n\n --csv_name Robert_example.csv: CSV with the data to curate. \n\n --curate: Use only the CURATE module. \n\nExecution time\n\nTime: ~5 seconds\n\nSystem: 4 processors (Intel Xeon Ice Lake 8352Y) using 8.0 GB RAM memory\n\nResults\n\n A CSV file containing the curated database (Robert_example_CURATE.csv) should be created inside the CURATE folder.",
|
|
2279
2279
|
"title": "CURATE (data curation)",
|
|
2280
2280
|
"topic": "output"
|
|
2281
2281
|
},
|
|
@@ -2300,7 +2300,7 @@
|
|
|
2300
2300
|
"source_file": "Examples/modules/prediction.rst",
|
|
2301
2301
|
"source_tier": "reference",
|
|
2302
2302
|
"tab": "Predictions",
|
|
2303
|
-
"text": "Overview\n\nRequired inputs\n\n Previous folder from a GENERATE job.\n Robert_example_test.csv: CSV file with data to use as the external test set. The full CSV file can be found in the Examples folder of the ROBERT repository <https://github.com/
|
|
2303
|
+
"text": "Overview\n\nRequired inputs\n\n Previous folder from a GENERATE job.\n Robert_example_test.csv: CSV file with data to use as the external test set. The full CSV file can be found in the Examples folder of the ROBERT repository <https://github.com/TheAlegreGroup/robert/tree/master/Examples/CSV_workflow>_ or downloaded here: csv_FW_test\n\nExecuting the job\n\nInstructions:\n\n1. First, go to the folder where GENERATE was previously run in your terminal. You should see a folder called GENERATE on it.\n2. Run the following command line:\n\nOptions used:\n\n --csv_test Robert_example_test.csv: CSV with the external test set. \n\n --names Name: Name of the column containing the names of the datapoints. This feature allows to print the names of the outlier points (if any). \n\n --predict: Use only the PREDICT module. \n\nExecution time\n\nTime: ~10 seconds\n\nSystem: 4 processors (Intel Xeon Ice Lake 8352Y) using 8.0 GB RAM memory\n\nResults\n\n Two graphs, for No_PFI and for PFI (in /PREDICT), with: representation of predictions, SHAP feature analysis, PFI feature analysis and outlier analysis .\n* Six CSV files with the predictions of each set, for No_PFI and for PFI (in /PREDICT).",
|
|
2304
2304
|
"title": "PREDICT (predict external test set and feature importance analysis)",
|
|
2305
2305
|
"topic": "output"
|
|
2306
2306
|
},
|
|
@@ -1222,7 +1222,7 @@
|
|
|
1222
1222
|
"source_file": "Examples/full_workflow/full_workflow_test.rst",
|
|
1223
1223
|
"source_tier": "reference",
|
|
1224
1224
|
"tab": "Reports",
|
|
1225
|
-
"text": "Required inputs\n\n Robert_example_test.csv: CSV file with data to use as the external test set. The full CSV file can be \n found in the \"Examples\" folder of the ROBERT repository <https://github.com/
|
|
1225
|
+
"text": "Required inputs\n\n Robert_example_test.csv: CSV file with data to use as the external test set. The full CSV file can be \n found in the \"Examples\" folder of the ROBERT repository <https://github.com/TheAlegreGroup/robert/tree/master/Examples/CSV_workflow>_ \n or downloaded here: csv_FW_test\n\nExecuting the job\n\nInstructions:\n\n1. Run the Full workflow from CSV workflow from the Examples.\n2. Download the Robert_example_test.csv file specified in Required inputs and paste it in the same working folder.\n3. Go to the working folder in your terminal (using the \"cd\" command, i.e. cd C:/Users/test_robert).\n4. Activate the conda environment where ROBERT was installed (conda activate robert).\n5. Run the following command line:\n\n The --csv_test option can be used as part of end-to-end workflows. For example, this option can be added\n to the \"Full workflow from CSV\" example:\n\n python -m robert --names Name --y Target_values --csv_name Robert_example.csv --csv_test Robert_example_test.csv\n\nOptions used:\n\n --predict: only runs the PREDICT module. \n\n --names Name: Name of the column containing the names of the datapoints. This feature allows to print the names of the outlier points (if any). \n\n --csv_test Robert_example_test.csv: CSV with the external test set. \n\nExecution time and versions\n\nTime: ~10 sec\n\nSystem: 8 processors (11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz) using 16.0 GB RAM memory\n\nROBERT version: 2.0.1\n\nscikit-learn-intelex version: 2025.2.0\n\nResults\n\nTwo CSV files called Robert_example_test_NN_No_PFI and Robert_example_test_NN_PFI should be created inside the PREDICT folder. The two files \ncontain the predictions from the two different Neural Network (NN) models, with and without PFI filtering,\nobtained in the Full workflow example.\n\nThe CSV files can be visualized here: csv_no_pfi (No PFI), csv_pfi (PFI)\n\nIf you want to tabulate your results inside a report PDF, run this command line:\n\nThe PDF file can be visualized here: pdf_report_test\n\nThe predictions are sorted at the end of the PDF report (including both the No_PFI and the PFI models):",
|
|
1226
1226
|
"title": "New predictions",
|
|
1227
1227
|
"topic": "results"
|
|
1228
1228
|
},
|
|
@@ -1297,7 +1297,7 @@
|
|
|
1297
1297
|
"source_file": "README.rst",
|
|
1298
1298
|
"source_tier": "reference",
|
|
1299
1299
|
"tab": "Reports",
|
|
1300
|
-
"text": "1. Download the environment file env_robert.yaml <https://github.com/
|
|
1300
|
+
"text": "1. Download the environment file env_robert.yaml <https://github.com/TheAlegreGroup/robert/tree/ddg_branch/environment/env_robert.yaml>_ by clicking this button on GitHub download.\n\n2. Open an Anaconda Prompt (Windows) or a terminal (macOS/Linux) and navigate to the folder where you saved `env_robert.yaml:\n\n3. Create the conda environment from the YAML file:\n\n4. Check that the installation was successful:\n\n The environment file automatically installs all required dependencies,\n including GTK, GLib, and fonts needed to generate PDF reports.\n No additional manual installation is required.\n\nAlternative installation\n\nIn a nutshell, ROBERT and its dependencies are installed as follows:\n\n1. Create and activate the conda environment where you want to install the program. If you are not sure of what \nthis point means, check out the \"Users with no Python experience\" section. It only works with Python 3.12 or 3.13:\n\n2. Install ROBERT with pip: \n\n3. Install GLib, GTK3, pango and mscorefonts to avoid errors when creating the PDF report: \n\n In some computers, you might see lots of pop-up windows with errors when installing GLib. Just press \"Accept\" in all the windows and finish the process until you see \"Done\" in the terminal.\n\n In some rare cases when using Linux systems, the PDF is still not generated after installing all the previous libraries. Users might try to execute these two command lines before: export GI_TYPELIB_PATH=$CONDA_PREFIX/lib/girepository-1.0 and export LD_LIBRARY_PATH=$CONDA_PREFIX/lib:$LD_LIBRARY_PATH`.\n\nYou can also use conda-forge in step 2 instead of pip, executing these commands: \n\n On some Linux systems (e.g., Ubuntu 22.04), you may also need to install gtk2 in addition to gtk3 to avoid errors related to missing libraries (such as 'libgobject-2.0-0'). You can install it with:\n\nUsers with no Python experience\n\nYou need a terminal with Python to install and run ROBERT. These are some suggested first steps:",
|
|
1301
1301
|
"title": "**Recommended installation**",
|
|
1302
1302
|
"topic": "results"
|
|
1303
1303
|
},
|
|
@@ -1322,7 +1322,7 @@
|
|
|
1322
1322
|
"source_file": "README.rst",
|
|
1323
1323
|
"source_tier": "reference",
|
|
1324
1324
|
"tab": "Reports",
|
|
1325
|
-
"text": "If you prefer a faster and easier installation, you can use the preconfigured YAML environment file. \nThis method automatically installs Python, ROBERT, and all required dependencies.\n\n1. Install Anaconda with Python 3 <https://docs.anaconda.com/free/anaconda/install>_ for your \noperating system (Windows, macOS or Linux). Alternatively, if you're familiar with conda installers, \nyou can install Miniconda with Python 3 <https://docs.conda.io/projects/miniconda/en/latest/miniconda-install.html>_ \n(requires less space than Anaconda). \n\n2. Download the environment file env_robert.yaml <https://github.com/
|
|
1325
|
+
"text": "If you prefer a faster and easier installation, you can use the preconfigured YAML environment file. \nThis method automatically installs Python, ROBERT, and all required dependencies.\n\n1. Install Anaconda with Python 3 <https://docs.anaconda.com/free/anaconda/install>_ for your \noperating system (Windows, macOS or Linux). Alternatively, if you're familiar with conda installers, \nyou can install Miniconda with Python 3 <https://docs.conda.io/projects/miniconda/en/latest/miniconda-install.html>_ \n(requires less space than Anaconda). \n\n2. Download the environment file env_robert.yaml <https://github.com/TheAlegreGroup/robert/tree/ddg_branch/environment/env_robert.yaml>_ by clicking this button on GitHub download.\n\n3. Open an Anaconda Prompt (Windows) or a terminal (macOS/Linux) and navigate to the folder where you saved `env_robert.yaml:\n\n4. Create the conda environment from the YAML file:\n\n5. Check that ROBERT is installed correctly:\n\n The environment file automatically installs all required dependencies,\n including GTK, GLib, and fonts needed to generate PDF reports.\n No additional manual installation is required.\n\nAlternative installation\n\nIf you prefer to install ROBERT manually, follow these steps:\n\n1. Install Anaconda with Python 3 <https://docs.anaconda.com/free/anaconda/install>__ for your \noperating system (Windows, macOS or Linux). Alternatively, you can install \nMiniconda with Python 3 <https://docs.conda.io/projects/miniconda/en/latest/miniconda-install.html>__ \n(requires less space than Anaconda). \n\n2. Open an Anaconda prompt (Windows users) or a terminal (macOS and Linux).\n\n3. Create a conda environment called \"robert\" with Python:\n\nYou only need to do this once.\nbr\n\n4. Activate the conda environment called \"robert\":\n\n5. Install ROBERT as defined in the \"Installation\" section:\n\n6. Install GLib, GTK3, pango and mscorefonts to avoid errors when creating the PDF report:\n\n7. Go to the folder with your CSV database (using the \"cd\" command):\n\n8. Run ROBERT as explained in the Examples section.\n\nGraphical User Interface (GUI): easyROB\n\neasyROB is the graphical interface of ROBERT. It allows you to configure and launch ROBERT workflows \nwithout using command lines — just by selecting files and options through an intuitive window.\n\n For video tutorials on how to use easyROB, check out our YouTube channel <https://www.youtube.com/@thealegregroup4964/videos>_.\n\nStandalone GUI Launcher (Windows and Linux)\n\nIf you prefer to avoid the manual installation and start using ROBERT’s graphical interface (easyROB) immediately, \nthere is a ready-to-use program available for:\n\n- Windows\n- Linux\n\nThis version includes a complete preinstalled environment, allowing you to launch easyROB directly — no setup required. \nIt’s ideal for users who are not familiar with conda or command lines.\n\n- Project page: easyROB Repository <https://github.com/MiguelMartzFdez/easyROB>_\n- Downloads for each system: Releases <https://github.com/MiguelMartzFdez/easyROB/releases>`_\n\n WSL (Windows Subsystem for Linux) users: even though WSL runs Linux, \n your operating system is still Windows. \n You must download and use the Windows version of the program, not the Linux one.\n\n macOS users: there is currently no preconfigured program for macOS. \n You must follow the manual instructions below to install ROBERT and run the GUI.",
|
|
1326
1326
|
"title": "**Recommended installation**",
|
|
1327
1327
|
"topic": "results"
|
|
1328
1328
|
},
|
|
@@ -5150,7 +5150,7 @@
|
|
|
5150
5150
|
"source_file": "README.rst",
|
|
5151
5151
|
"source_tier": "reference",
|
|
5152
5152
|
"tab": "ROBERT",
|
|
5153
|
-
"text": "List of main developers and contact emails: \n\n Juan V. Alegre-Requena [\n ORCID <https://orcid.org/0000-0002-0769-7168>_ , \n Github <https://github.com/jvalegre>_ , \n email <jv.alegre@csic.es>_ ]\n David Dalmau Ginesta [\n ORCID <https://orcid.org/0000-0002-2506-6546>_ , \n Github <https://github.com/ddgunizar>_ , \n email <ddalmau@unizar.es>_]\n\nFor suggestions and improvements of the code (greatly appreciated!), please \nreach out through the issues and pull requests options of Github <https://github.com/
|
|
5153
|
+
"text": "List of main developers and contact emails: \n\n Juan V. Alegre-Requena [\n ORCID <https://orcid.org/0000-0002-0769-7168>_ , \n Github <https://github.com/jvalegre>_ , \n email <jv.alegre@csic.es>_ ]\n David Dalmau Ginesta [\n ORCID <https://orcid.org/0000-0002-2506-6546>_ , \n Github <https://github.com/ddgunizar>_ , \n email <ddalmau@unizar.es>_]\n\nFor suggestions and improvements of the code (greatly appreciated!), please \nreach out through the issues and pull requests options of Github <https://github.com/TheAlegreGroup/robert>_.",
|
|
5154
5154
|
"title": "Developement",
|
|
5155
5155
|
"topic": "concept"
|
|
5156
5156
|
},
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"""Run CheckML from the command line, or open its desktop workspace."""
|
|
2
|
+
|
|
3
|
+
import sys
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def launch_gui(mode):
|
|
7
|
+
"""Load Qt only when the desktop interface is requested."""
|
|
8
|
+
try:
|
|
9
|
+
from robert.gui_easyrob.easyrob_launcher import main as gui_main
|
|
10
|
+
except ImportError:
|
|
11
|
+
from easyrob_launcher import main as gui_main
|
|
12
|
+
return gui_main(mode=mode)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def main(argv=None):
|
|
16
|
+
"""Use CLI options for a full evaluation; no options open the desktop GUI."""
|
|
17
|
+
args = list(sys.argv[1:] if argv is None else argv)
|
|
18
|
+
if not args:
|
|
19
|
+
return launch_gui(mode="checkml")
|
|
20
|
+
|
|
21
|
+
from robert.robert import main as run_workflow
|
|
22
|
+
|
|
23
|
+
original_argv = sys.argv
|
|
24
|
+
try:
|
|
25
|
+
sys.argv = [original_argv[0], "--checkml", *args]
|
|
26
|
+
return run_workflow()
|
|
27
|
+
finally:
|
|
28
|
+
sys.argv = original_argv
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
if __name__ == "__main__":
|
|
32
|
+
main()
|
|
@@ -61,7 +61,7 @@ def test_easyrob_mode_keeps_existing_navigation():
|
|
|
61
61
|
def test_checkml_entry_selects_dedicated_mode(monkeypatch):
|
|
62
62
|
modes = []
|
|
63
63
|
monkeypatch.setattr(checkml_launcher, "launch_gui", lambda mode: modes.append(mode))
|
|
64
|
-
checkml_launcher.main()
|
|
64
|
+
checkml_launcher.main([])
|
|
65
65
|
assert modes == ["checkml"]
|
|
66
66
|
|
|
67
67
|
|
|
@@ -35,6 +35,8 @@ Parameters
|
|
|
35
35
|
# used to analyze and generate ML predictors #
|
|
36
36
|
#####################################################.
|
|
37
37
|
|
|
38
|
+
from robert.reproducibility import reproducible
|
|
39
|
+
|
|
38
40
|
import os
|
|
39
41
|
import time
|
|
40
42
|
from robert.predict_utils import (plot_predictions,
|
|
@@ -71,6 +73,7 @@ class predict:
|
|
|
71
73
|
Specify any arguments from the PREDICT module (for a complete list of variables, visit the ROBERT documentation)
|
|
72
74
|
"""
|
|
73
75
|
|
|
76
|
+
@reproducible
|
|
74
77
|
def __init__(self, **kwargs):
|
|
75
78
|
|
|
76
79
|
start_time = time.time()
|
|
@@ -17,6 +17,8 @@ Parameters
|
|
|
17
17
|
# used for generating the final PDF report #
|
|
18
18
|
#####################################################.
|
|
19
19
|
|
|
20
|
+
from robert.reproducibility import reproducible
|
|
21
|
+
|
|
20
22
|
import os
|
|
21
23
|
import shutil
|
|
22
24
|
import re
|
|
@@ -201,6 +203,11 @@ class report:
|
|
|
201
203
|
# lines available in the Section A warnings box on page 1 (see print_warnings())
|
|
202
204
|
WARNING_LINE_BUDGET = 6
|
|
203
205
|
|
|
206
|
+
# Enlarge the CheckML logo by two successive 5% steps from 70 CSS px.
|
|
207
|
+
# Give back 3.5875 px above and below to preserve the header's total height.
|
|
208
|
+
CHECKML_LOGO_HEIGHT = 77.175
|
|
209
|
+
|
|
210
|
+
@reproducible
|
|
204
211
|
def __init__(self, **kwargs):
|
|
205
212
|
# check if there is a problem with weasyprint (required for this module)
|
|
206
213
|
# Suppress fontconfig warnings during import on Windows
|
|
@@ -518,12 +525,20 @@ class report:
|
|
|
518
525
|
# CHECKML scores a model the user already chose (not one ROBERT's own Bayesian search
|
|
519
526
|
# picked), so its reports use the CheckML logo instead of ROBERT's, to visually tell
|
|
520
527
|
# the two apart at a glance
|
|
521
|
-
|
|
528
|
+
if getattr(self,'eval_only',False):
|
|
529
|
+
logo_name = 'CheckML_logo.jpg'
|
|
530
|
+
logo_style = (f'width: auto; height: {self.CHECKML_LOGO_HEIGHT}px; '
|
|
531
|
+
'max-width: 55.125%; object-fit: contain; margin-top: -15.5875px;')
|
|
532
|
+
header_bottom_margin = '8.4125px'
|
|
533
|
+
else:
|
|
534
|
+
logo_name = 'Robert_logo.jpg'
|
|
535
|
+
logo_style = 'width: 50%; margin-top: -12px;'
|
|
536
|
+
header_bottom_margin = '0.5em'
|
|
522
537
|
|
|
523
538
|
# combines the top image with the other sections of the header
|
|
524
539
|
header_lines = f"""
|
|
525
|
-
<h1 style="text-align: center; margin-bottom:
|
|
526
|
-
<img src="file:///{self._posix_uri(self.args.path_icons)}/{logo_name}" alt="" style="display: block; margin-left: auto; margin-right: auto;
|
|
540
|
+
<h1 style="text-align: center; margin-bottom: {header_bottom_margin};">
|
|
541
|
+
<img src="file:///{self._posix_uri(self.args.path_icons)}/{logo_name}" alt="" style="display: block; margin-left: auto; margin-right: auto; {logo_style}" />
|
|
527
542
|
<span style="font-weight:bold;"></span>
|
|
528
543
|
</h1>
|
|
529
544
|
{citation_dat}
|
|
@@ -1024,7 +1039,7 @@ class report:
|
|
|
1024
1039
|
|
|
1025
1040
|
def save_radar_plots(self,data_score,suffix,pred_type):
|
|
1026
1041
|
'''
|
|
1027
|
-
Saves the radar plots of the
|
|
1042
|
+
Saves the radar plots of the components behind the Interpolation and Boundary
|
|
1028
1043
|
robustness scores (same values as Section B). The flawed-model tests are a penalty
|
|
1029
1044
|
(<= 0) rather than a 0-2 component, so they're summarized in text instead (see
|
|
1030
1045
|
print_warnings()). Classification has no Boundary robustness, so only one radar is made.
|
|
@@ -1048,14 +1063,19 @@ class report:
|
|
|
1048
1063
|
('6. Stability', f'cv_sd_score_{suffix}'),
|
|
1049
1064
|
])]
|
|
1050
1065
|
if pred_type == 'reg':
|
|
1066
|
+
# very short labels: seven long ones (i.e. "1c. High degradation") overlapped
|
|
1067
|
+
# around the circle. Whether each item is the high-y, low-y or descriptor-space
|
|
1068
|
+
# boundary is explained by the line written under the radar (see below)
|
|
1069
|
+
# (label, score key, maximum): Spearman and degradation go from 0 to 1, so their
|
|
1070
|
+
# bars are scaled to their own maximum (a full bar is always the best value)
|
|
1051
1071
|
radars.append(('boundary', f'extrap_score_{suffix}', [
|
|
1052
|
-
('1a.
|
|
1053
|
-
('1b.
|
|
1054
|
-
('1c.
|
|
1055
|
-
('2a.
|
|
1056
|
-
('2b.
|
|
1057
|
-
('2c.
|
|
1058
|
-
('3.
|
|
1072
|
+
('1a. Pred.', f'sorted_cv_high_score_{suffix}', 2),
|
|
1073
|
+
('1b. Spearman', f'spearman_score_high_{suffix}', 1),
|
|
1074
|
+
('1c. Degrad.', f'degradation_score_high_{suffix}', 1),
|
|
1075
|
+
('2a. Pred.', f'sorted_cv_low_score_{suffix}', 2),
|
|
1076
|
+
('2b. Spearman', f'spearman_score_low_{suffix}', 1),
|
|
1077
|
+
('2c. Degrad.', f'degradation_score_low_{suffix}', 1),
|
|
1078
|
+
('3. Leverage', f'applicability_domain_score_{suffix}', 2),
|
|
1059
1079
|
]))
|
|
1060
1080
|
|
|
1061
1081
|
score_available = data_score.get(f'score_available_{suffix}', True)
|
|
@@ -1067,15 +1087,23 @@ class report:
|
|
|
1067
1087
|
value_font_size = 7.2 # another 20% larger than the previous 6 pt
|
|
1068
1088
|
|
|
1069
1089
|
for key,total_key,components in radars:
|
|
1070
|
-
|
|
1071
|
-
|
|
1090
|
+
# components: (label, score key) on the 0-2 scale, or (label, score key, maximum)
|
|
1091
|
+
components = [(item[0], item[1], item[2] if len(item) > 2 else 2) for item in components]
|
|
1092
|
+
labels = [label for label,_,_ in components]
|
|
1093
|
+
raw_values = [float(data_score.get(score_key,0) or 0) for _,score_key,_ in components]
|
|
1072
1094
|
flawed_score_key = f'flawed_mod_score_{suffix}'
|
|
1073
|
-
#
|
|
1074
|
-
#
|
|
1075
|
-
|
|
1095
|
+
# Bars on a common 0-2 axis (each component scaled to its own maximum). The
|
|
1096
|
+
# flawed-model component can be negative: keep its bar pinned at zero, while
|
|
1097
|
+
# retaining the raw score for the value badge.
|
|
1098
|
+
values = [max(0.0,min(2.0,value*2/maximum)) for value,(_,_,maximum) in zip(raw_values,components)]
|
|
1076
1099
|
display_values = [
|
|
1077
|
-
raw_value if score_key == flawed_score_key else
|
|
1078
|
-
for (_,score_key),raw_value
|
|
1100
|
+
raw_value if score_key == flawed_score_key else max(0.0,min(float(maximum),raw_value))
|
|
1101
|
+
for (_,score_key,maximum),raw_value in zip(components,raw_values)
|
|
1102
|
+
]
|
|
1103
|
+
# colour of each bar from its fraction of the maximum (same 0-2 tiers)
|
|
1104
|
+
colour_values = [
|
|
1105
|
+
display_value if score_key == flawed_score_key else value
|
|
1106
|
+
for (_,score_key,_),display_value,value in zip(components,display_values,values)
|
|
1079
1107
|
]
|
|
1080
1108
|
# each bar coloured by its own 0-2 value with the score-card palette: red (<0.5),
|
|
1081
1109
|
# orange (0.5-1), light blue (1-1.5), blue (>=1.5); grey when the score isn't
|
|
@@ -1123,8 +1151,8 @@ class report:
|
|
|
1123
1151
|
ax.xaxis.grid(False)
|
|
1124
1152
|
# Black outlines separate adjacent bars and end at each bar's tip.
|
|
1125
1153
|
ax.bar(angles, values, width=slot*0.62,
|
|
1126
|
-
color=[bar_colour(
|
|
1127
|
-
for (_,score_key),
|
|
1154
|
+
color=[bar_colour(colour_value, score_key == flawed_score_key)
|
|
1155
|
+
for (_,score_key,_),colour_value in zip(components,colour_values)],
|
|
1128
1156
|
edgecolor='black', linewidth=0.5, zorder=2.5)
|
|
1129
1157
|
# Radial dividers between sections: darker than the reference rings so each
|
|
1130
1158
|
# section reads clearly, and the same weight as the outer circle so the
|
|
@@ -1136,8 +1164,8 @@ class report:
|
|
|
1136
1164
|
ax.spines['polar'].set_linewidth(0.6)
|
|
1137
1165
|
ax.spines['polar'].set_zorder(3)
|
|
1138
1166
|
# Value badges use the same colored fill as their bars.
|
|
1139
|
-
for angle,value,display_value,(_,score_key) in zip(angles,values,display_values,components):
|
|
1140
|
-
color = bar_colour(
|
|
1167
|
+
for angle,value,display_value,colour_value,(_,score_key,_) in zip(angles,values,display_values,colour_values,components):
|
|
1168
|
+
color = bar_colour(colour_value, score_key == flawed_score_key)
|
|
1141
1169
|
# minimum radius of 0.65 so the badges of small bars (e.g. several 0.0) don't
|
|
1142
1170
|
# pile up and overlap at the centre of the radar
|
|
1143
1171
|
ax.text(angle, max(value - 0.18, 0.65), f'{display_value:.1f}', ha='center', va='center',
|
|
@@ -1210,6 +1238,16 @@ class report:
|
|
|
1210
1238
|
for label,width in zip(labels_flawed,widths):
|
|
1211
1239
|
label.set_x(x_px / fig.bbox.width)
|
|
1212
1240
|
x_px += width
|
|
1241
|
+
elif key == 'boundary':
|
|
1242
|
+
# what the numbers of the short labels refer to (same items as Section B)
|
|
1243
|
+
legend = fig.text(0.5, 0.045, '1 = high y (top 20%) · 2 = low y (bottom 20%) · 3 = descriptor space',
|
|
1244
|
+
ha='center', va='center', fontsize=label_font_size, color='#1e293b')
|
|
1245
|
+
fig.canvas.draw()
|
|
1246
|
+
font_size = label_font_size
|
|
1247
|
+
while legend.get_window_extent(renderer).width > fig.bbox.width * 0.96 and font_size > 5:
|
|
1248
|
+
font_size -= 0.25
|
|
1249
|
+
legend.set_fontsize(font_size)
|
|
1250
|
+
fig.canvas.draw()
|
|
1213
1251
|
radar_path = out_folder / f'CheckML_radar_{key}{getattr(self,"model_suffix","")}_{suffix_title}.png'
|
|
1214
1252
|
# Keep the original canvas ratio so the PDF's fixed-size image box cannot crop
|
|
1215
1253
|
# the labels. The title is omitted so only the radar and component labels show.
|