Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* • composition.py - run(): use rich.Progress for looping through trials * - * - * - * - * - * - * - * - * - * - * - * • composition.py - import placed at top * - * • composition.py - run(): added support for indeterminate progress using rich * • composition.py - run(): clean-up of rich.progress code * • composition.py - run(): clean-up of rich.progress code * - * • composition.py - run(): added support for indeterminate progress using rich * • composition.py - run(): simulation progress now working properly * • composition.py - run(): added show_progress and show_output args - execute(): added show_output arg * • composition.py - run(): modified example in controlsignal.py docstring to pass test * • composition.py - run(): modified example in controlsignal.py docstring to pass test * - * • Pulled from current devel * • composition.py: bug fixes * - * • composition.py - last commit before implementing PNLprogress * • composition.py - first draft using PNLProgress and _report_output * • composition.py - first draft using PNLProgress and _report_output * - * - * - * - * • PNLProgress working * - * • PNLProgress: elaborated for future support of pnl_view * - * • progress.py: added support for showing simulations * • progress.py: added support for showing simulations * - * - * - * • Fixed bug causing crash in test_nested_composition_run * • Fixed bug causing crash in test_nested_composition_run * - * • Codestyle fixes * • progress.py: - fixed simulation progress reporting - should consolidate all executions in a given simualation to a single task • composition.py: - limited progress reporting to execute() (no longer in run) • autodiffcomposition.py: - execute: added progress reporting - still need to handle output report * - * - * - * • Merged with devel * - * • Merged with devel * - * - * - * - * - * - * • progress.py: working for nested sims * - * - * - * - * - * • composition.py: docstring updated for output and progress reporting * • progress.py - bug fix • composition.py - change show_output default to False * • progress.py - bug fix * • progress.py - patch trial_num reporting bug (with hack) * • progress.py: before switch from rich_report to full_report * - * - * - * • Progress: before modifying PNLProgers._use_rich * • Progress: implemented CAPTURE option for rich output * - * - * • Preferences.rst - pointed to PreferenceSet.py • preferenceset.py - created docstring to describe Standard Preferences * - * - * • tests - composition: added test_progress.py with unit tests for PNLProgress • composition.py - execute(): modified context passed to node if it is a mechanism (assigns context.source as ContextFlags.COMPOSITION) * - * • composition.py and progress.py: refactoring show_output and show_progress into: report_output, report_progress, report_simulations, report_to_devices * - * - * • report.py: updated docstrings with new args/attrs * • report.py: - refactored args to use "report" as root - added _use_rich_console and _use_rich_capture - TODO: allow independent controle of consolse and capture * • test_report.py: updated to use report_progress and report_to_devices * - * • report.py: - added independent rich divert and report recording * - * - * - * - * - * - * - * - * - * • report.py - report_output: fixes for simulation reporting * - * • composition.py - evaluate(): added use of Report context in call to composition.run() * - * - * - * - * - * - * • report.py: docstring added * - * - * - * - * • report.py: modify to use ReportOutput enum * - * - * • report.py: refactored to use ReportOutput enum * • report.py: refactored to use ReportDevices enum * • Project: refactored to use ReportOutput and ReportDevices enums • Component: reportOoutputPref property and setter: enforce assigment and retrieval of ReportOutput * • Project: refactored to use ReportProgress and ReportSimulations enums * - * - * • basepreferenceset.py: - modified reportOutputPref handling to convert False to ReportOutput.OFF and True to ReportOutput.TERSE * - * • report.py: allow reportOutputPrefs to be a list that includes 'params' and a ReportOutput option * - * - * - * • report.py, composition.py: (..._)progress_report(s) -> (...)run_reports(s) * - * • report.py: - added ReportOuput.ON as alias to ReportOutput.TERSE - fixed bug preventing progress reporting of simulations * - * • report.py: added temporary simulation_depth tracking * - * - * - * • report.py, composition.py, mechanism.py: merged and working with refactor/report/mech_report * - merged with devel * • report.py, composition.py: fixed indentations of progress report for nested comps and simulations * - * • report.py, composition.py: elaborated depth tracking to disinguish between nested comps and controller sims * • report.py - bug fix in simulation reporting * • report.py, composition.py - implement and use Report._nesting_stack and Report._control_stack * • report.py, composition.py - replaced _nesting and _control stacks with single _execution_stack and added _nested and _simulating attributes * • report.py: refactored to use _print_and_record_reports * - * - * • report.py: refactored _print_and_record_reports * - * - * - * - * • test_report.py: added tests for reports involving nested comps and simulations * - * - * • report.py: minor mods * • report.py: - support specification of individual params in reportOutputPref - support for indivdual function params still needs to be implemented * - merged with devel * • report.py: support specific params including functions latter still needs work * • report.py: - node_execution_report(): function params now included, and listed at end of params * • report.py: - node_execution_report(): function params now included, and listed at end of params * - * • report.py: - node_execution_report(): fixed bug in function parameter reporting (used primary function params for any secondary functions) * • report.py: - node_execution_report(): fixed bug in function parameter reporting (used primary function params for any secondary functions) * - * - * • preferenceset.py: augmented documentation for reportOutputPref and added examples * - * - * - * - * - * - * - * - * - * - * - * - * • report.py, composition.py, mechanism.py: added arguments and attributes for ReportParams * • report.py, composition.py, mechanism.py: added arguments and attributes for ReportParams * • report.py: - node_execution_report(): fix bugs * • composition.py: fix bugs for report_params * - * • report.py - node_execution_report(): implemented ReportParams.MODULATED * - * - * - * - * - * - * • report.py: supports ReportParams.MODULATED * - * - * - Co-authored-by: jdcpni <pniintel55>
- Loading branch information