Skip to content
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

Optview rewrite #291

Draft
wants to merge 113 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
113 commits
Select commit Hold shift + click to select a range
412f62b
Removed old opt view files
lamkina Mar 12, 2021
0268ee3
Added skeleton framework for MVC architecture
lamkina Mar 12, 2021
6594c74
Made logo file names more descriptive
lamkina Mar 12, 2021
a1b8565
Created a utils folder for view utilities
lamkina Mar 13, 2021
114c2d3
Initial GUI and controller functionality
lamkina Mar 13, 2021
2a20675
Switched to widgets and nested layouts
lamkina Mar 14, 2021
dd89aad
Renamed plot controller
lamkina Mar 14, 2021
d4e53e1
Renamed plot view
lamkina Mar 14, 2021
86b3ed8
ignore vscode workspace settings
lamkina Mar 14, 2021
6abb656
Added png of pyOptSparse logo to assets
Apr 6, 2021
48b2e2c
Added menu bar, more options, and adjusted sub-layouts
Apr 6, 2021
5a44eb9
Added pyOptSparse watermark to initial plot
Apr 6, 2021
2e0ae5d
Added template for message box views
Apr 7, 2021
2ce791e
Added input handling and changed all widgets to attributes
Apr 7, 2021
64a3602
Added shell functions for input handling
Apr 7, 2021
5484716
Refactor to allow for multiple sub window plotting tabs
Apr 8, 2021
0ab660d
Added toggle switch UI element
Apr 9, 2021
64b2c8e
Added more functionality and state control
Apr 9, 2021
685da0e
Implemented initial data structure and history api methods
Apr 9, 2021
51739a5
Started framework for plotting
Apr 9, 2021
308eae1
Updated plot view to include the pyoptsparse logo
Apr 9, 2021
01fc74e
Encapsulating state control
Apr 9, 2021
18836a0
Added custom switches and state control
Apr 9, 2021
1f15aa1
Added state control and started plotting framework
Apr 14, 2021
99e63ed
Added funcs to scale and unscale x,y vars
Apr 14, 2021
b570729
Re-working plot function to handle new framework
Apr 14, 2021
5ca12a6
Changed image to scale with the window
Apr 14, 2021
62e316e
Added more state control
Apr 14, 2021
43c6538
Removed shared x-axis option
Apr 14, 2021
8186d05
Added file to ignore
Apr 27, 2021
fe94ebd
Refactored to match new model
Jun 3, 2021
072d94b
Adding new data structures to better handle all features
Jun 3, 2021
8106653
New model using underlying data structures
Jun 3, 2021
951d7d5
Removed state controller
Jun 3, 2021
41ecf0e
Updated view to match controller refactor
Jun 3, 2021
3481cc6
Refactored to help encapsulate functionality
Jun 6, 2021
a32002e
Adding custom widgets for plot and variable list objects
Jun 6, 2021
06d4f83
Refactored to represent current sub architecture organization
Jun 6, 2021
62e81df
Refactored sub windows
Jun 6, 2021
045c68b
Fixed add/remove variable logic and added options
Jun 6, 2021
69de609
Added a model to the configure plot MVC
Jun 6, 2021
5845eaf
Added variable list widget and added middle layout
Jun 6, 2021
241eed6
Switched location of plot list widget
Jun 6, 2021
1fe71f1
Added tab widgets
Jun 6, 2021
72fe6a9
Removed the variable index
Jun 6, 2021
6d7ce91
Refactored to clearer locations
Jun 6, 2021
bd8417f
Started implementing options
Jun 7, 2021
e1f7aa0
Adding minor and major iteration logic control
Jun 7, 2021
8c5ee87
Added major and minor iteration toggles
Jun 7, 2021
baaeac1
Unused so I deleted it
Jun 7, 2021
a83367d
Set the MplCanvas parent to a figure not a widget
Jun 7, 2021
b3c9c6b
Added subplot labels
Jun 7, 2021
944148b
Documentation tweak
Jun 7, 2021
0911144
Removed unessecary x variable functionality and updated configure win…
Jun 10, 2021
5cf1d6e
Updated the model to reflect removal of x variables from view
Jun 10, 2021
dc5ebe6
Moved the variable list widget into different location and replaced t…
Jun 10, 2021
0f36798
Widgets file for custom configure window widgets
Jun 10, 2021
06fe2d5
Removed x/y variable supprort in favor of x axis being just major/min…
Jun 10, 2021
4dda2e1
Merge branch 'master' of https://github.com/lamkina/pyoptsparse into …
Jun 10, 2021
820ce8d
Added scaling and bounds control
Jun 12, 2021
a3c5682
Removed specific variable options
Jun 12, 2021
04b4568
Added options to each variable class
Jun 12, 2021
7e63da8
Merge branch 'master' of https://github.com/mdolab/pyoptsparse into o…
lamkina Jan 6, 2022
2158be9
Included add file functionality in the plot configuration
lamkina Jan 7, 2022
6a6f75e
Adjusted the error message for too many plots in a subwindow
lamkina Jan 7, 2022
f7487c4
Removed postprocessing setup code to prevent install errors during de…
lamkina Jan 7, 2022
bb9e5a8
Working on the plot configuration window
Jan 7, 2022
f80053e
Merge branch 'optview_rewrite' of https://github.com/lamkina/pyoptspa…
Jan 7, 2022
3a38071
Fixing bugs with the plot configuration window
Jan 7, 2022
2716b25
Removed print statements
Jan 7, 2022
f72bea5
Major refactor of the configuration window, added the refresh feature…
Mar 30, 2022
e59a85d
Merged with branch 'main' from mdolab/pyoptsparse
Mar 30, 2022
162a823
Started implementing separate x and y variables for plots
Mar 30, 2022
308a34f
Created a new MVC for handling x and y variables with real-time plott…
Mar 31, 2022
97d5cb5
Working on making the new variable plotting framework functional, and…
lamkina Apr 1, 2022
28c7536
Fixed most of the bugs with plotting and formatting. Also added warn…
lamkina Apr 2, 2022
3ce297b
Added command line argument for adding files
lamkina Apr 2, 2022
98aa74b
Fixed plotting bugs and added scaled/bounds options functionality
lamkina Apr 3, 2022
84387eb
Added docstrings, updated import format, and did a minor refactor wit…
lamkina Apr 3, 2022
01797e1
Merge branch 'main' of github.com:mdolab/pyoptsparse into optview_rew…
lamkina Apr 3, 2022
2ada904
Updated flake8 config and added new optview dependencies to setup
lamkina Apr 4, 2022
419b901
Flake8, black, and isort fixes
lamkina Apr 4, 2022
0b26e6a
Flake8 and I are having fun
lamkina Apr 4, 2022
c8dd991
Added optview as a cli tool and fixed bugs with file paths
Apr 4, 2022
b971bfa
Changed the asset path to be absolute based on the install directory
Apr 4, 2022
16c6737
File dialogs now open to the directory from which OptView was launched
Apr 4, 2022
31d6c76
removed unnecessary import
marcomangano Apr 5, 2022
b28c8c1
Data now loads with the file, all DV's get displayed, curve labels ar…
lamkina Apr 8, 2022
745480c
Added QtGui colors to their own file
lamkina Apr 8, 2022
d3e569b
Fixed a bug with setting curve labels when adding variables to plots
lamkina Apr 8, 2022
292b59e
Added file display on main window and fixed a bug with setting bounds…
lamkina Apr 8, 2022
d1826cb
Added dark mode, legend config options, and fixed a bug with minor it…
lamkina May 15, 2022
36c250b
Updated optview dependencies for dark mode
lamkina May 15, 2022
152c813
Updated the branch to match main
lamkina May 15, 2022
5ee0bda
Added plot reordering and several keyboard shortcuts
lamkina May 17, 2022
78f7847
Added settings configuration to the file menu
lamkina May 19, 2022
d1a0d6f
Added the views, model, and controller for OptView settings
lamkina May 19, 2022
0b3f138
Added a function to open the settings sub window
lamkina May 19, 2022
14fd5a4
Abstracted the view property to be a common attribute for all control…
lamkina May 19, 2022
89700d0
Made a custom widget for the dark mode toggle in the settings menu
lamkina May 19, 2022
da2ec18
The view for the controller is now set using decorators from the cont…
lamkina May 19, 2022
4aa2cc8
Adding more keyboard shortcuts and updating package names after struc…
Oct 6, 2022
50391b1
Merging updated main with meson build
Oct 6, 2022
e7bb697
Updated to PyQt6 to work with ARM
Oct 12, 2022
da66ae4
Merge branch 'main' of github.com:mdolab/pyoptsparse into optview_rew…
Oct 12, 2022
ea9eecb
Fixing flake8 errors
Oct 12, 2022
02d5744
Fixing black formatting
Oct 12, 2022
9f1f08f
Fixing isort formatting
Oct 12, 2022
b7f7945
Added updated optview logo that matches mdolab colors
Oct 12, 2022
e03ccba
Fixing meson build file
Oct 12, 2022
748b492
Fixing more meson build issues
Oct 12, 2022
c6dbff0
Major refactor to improve maintainablility
Oct 12, 2022
9500b1e
Fixing meson build issues
Oct 13, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .flake8
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
[flake8]
extend-exclude =
# OptView and related files need to be fixed eventually
pyoptsparse/postprocessing/OptView.py
pyoptsparse/postprocessing/OptView_baseclass.py
pyoptsparse/postprocessing/OptView_dash.py
pyoptsparse/postprocessing/view_saved_figure.py
2 changes: 1 addition & 1 deletion pyoptsparse/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ subdir('pyCONMIN')
subdir('pyNLPQLP')
subdir('pyNSGA2')
subdir('pyPSQP')
subdir('postprocessing')
#subdir('pyALPSO')
#subdir('pyParOpt')
#subdir('postprocessing')

# test imports
# envdata = environment()
Expand Down
Loading