Repository navigation
v0.3.0 release - #5
Merged
Merged
Conversation
- Moved gui/collapsible.py, gui/canvas.py and gui/images.py to gui/components/. - Moved gui/icons/ to gui/components/assets/. - Added gui/components/icons.py to define bundled icon loading. - Added gui/components/path_field.py to define PathField. - Modified imports across src/ and tests/ to updated paths.
- Moved gui/kind_dialog.py, gui/new_project_dialog.py to gui/dialogs/. - Modified imports across src/ and tests/ to updated paths.
- Moved gui/tomo_dock.py and gui/average_pane.py to gui/panes/. - Renamed tests/gui/test_tomo_dock.py to tests/gui/test_tomo_pane.py. - Modified imports across src/ and tests/ to updated paths.
- Moved gui/kinds_tab.py, gui/pick_tab.py, gui/project_tab.py and gui/review_tab.py to gui/tabs/. - Modified imports across src/ and tests/ to updated paths.
Merge pull request #4 from holsam/gui-refactor
- Modified gui/components/icons.py to add function for returning recoloured icon. - Added tests/gui/test_icons.py to define tests for icon bundling and tinting. - Added additional icon assets and modified NOTICE to include details for these.
- Added gui/components/status.py to define status icons/badges. - Added tests/gui/test_components.py to hold tests for GUI components, and added tests for status icons/badges. - Deleted tests/gui/test_canvas.py and moved tests into tests/gui/test_components.py. - Deleted tests/gui/test_icons.py and moved tests into tests/gui/test_components.py.
- Added gui/components/toast.py to define a toast overlay which shows a message also printed to stdout. - Modified gui/main_window.py to install a toast during window setup. - Modified tests/gui/test_components.py to add tests for toast component.
- Added gui/components/range_slider.py to define a two-handle range slider that holds both a low and high value. - Modified tests/gui/test_components.py to add tests for new two-handle range slider.
- Modified config.py to add name field for project name. - Modified project.py to add display name attribute to a project. - Modified __init__.py to add version recall function from the installed package. - Added tests/test_version.py to add test for returning version. - Modified tests/test_config.py to add tests for new name. - Modified tests/test_project.py to add test for display names.
- Modified gui/dialogs/new_project_dialog.py to add optional name field and tooltips for each field. - Added tests/gui/test_dialogs.py to hold tests for dialogs. - Deleted tests/gui/test_new_project_dialog.py and moved tests to tests/gui/test_dialogs.py. - Deleted tests/gui/test_kind_dialog.py and moved tests to tests/gui/test_dialogs.py.
- Added gui/panes/welcome_pane.py to set up welcome pane to create/open a project. - Modified gui/style.py to add rounded button helper. - Modified gui/tabs/project_tab.py to show the welcome pane when no project is open. - Added tests/gui/test_panes.py to hold tests for gui panes and added tests for welcome pane. - Deleted tests/gui/test_average_pane.py and moved tests to tests/gui/test_panes.py. - Deleted tests/gui/test_tomo_pane.py and moved tests to tests/gui/test_panes.py.
- Modified gui/main_window.py to title the window "pickmix • <name>" when a project is open. - Modified tests/gui/test_main_window.py to add test to check the window title.
- Added items.py with matched/flagged/items helpers for the current fits of picks and noparent flag. - Modified gui/tabs/review_tab.py to call shared helpers from items.py. - Added tests/test_items.py to define tests for shared helpers.
- Added gui/tabs/export_tab.py to define export tab containing average and export/extract. - Modified gui/tabs/review_tab.py to remove export/extract. - Modified gui/tabs/kinds_tab.py to remove average pane. - Modified gui/main_window.py to add Export tab, enable tabs by widget and remove duplicated connection. - Added tests/gui/test_export_tab.py to define tests for export/extract. - Modified tests/gui/test_review_tab.py to remove tests for export/extract. - Modified tests/gui/test_main_window.py to update average pane test and export tab into disabled tab test. - Modified tests/gui/style.py to add export tab to parameterized test.
- Renamed gui/tabs/kinds_tab.py to gui/panes/kinds_pane.py and renamed KindsTab to KindsPane. - Modified gui/tabs/project_tab.py to add kinds pane under tomogram table, forwarding saves. - Modified gui/main_window.py to remove Kinds tab. - Deleted tests/gui/test_kinds_tab.py and moved tests into tests/gui/test_panes.py. - Modified tests/gui/test_main_window.py to update previous kinds tab tests. - Modified tests/gui/test_project_tab.py to update previous kinds tab tests. - Modified tests/gui/test_style.py to update previous kinds tab tests.
- Added gui/panes/settings_pane.py to set up setting pane (including volume source, hotkey dropdowns and estimator parameter form). - Modified tests/gui/test_panes.py to add tests for new settings pane.
- Modified gui/style.py to move colour schemes, toast styling, large buttons, placeholders, error text styling elements to one place. - Modified gui/components/canvas.py to use define placeholder image styling. - Modified gui/components/status.py to use defined style colours. - Modified gui/components/toast.py to use defined toast styling. - Modified gui/dialogs/kind_dialog.py to use defined error text style. - Modified gui/dialogs/new_project_dialog.py to use defined error text style. - Modified gui/panes/average_pane.py to use defined placeholder image styling. - Modified gui/panes/welcome_pane.py to use large buttons from style. - Modified gui/panes/tomo_pane.py to use defined style colours. - Modified gui/tabs/review_tab.py to use defined placeholder image styling. - Modified tests/gui/test_components.py to use colour OK in tinted icon test.
- Modified tests/gui/test_components.py to add missing import. - Modified tests/gui/test_panes.py to monkeypatch tinted from style rather than welcome pane.
- Modified gui/style.py to add styling for a padded table. - Added gui/panes/tomograms_pane.py with summary line and table tomograms, with leading status column. - Modified tests/gui/test_panes.py to add tests for tomograms pane.
- Modified gui/style.py to add icon-only button with tooltips. - Modified gui/tabs/project_tab.py to show project title, config path, reload/close buttons. - Modified gui/panes/kinds_pane.py to drop hotkey dropdowns. - Modified gui/main_window.py to rebuild session 500 ms after the last settings change. - Modified tests/gui/test_project_tab.py to update project tab tests. - Modified tests/gui/test_panes.py to remove hotkey tests. - Modified tests/gui/test_main_window.py to add test for settings rebounce.
- Modified gui/main_window.py to register number & delete shortcuts. - Modified gui/tabs/pick_tab.py to remove shortcuts and expose function. - Modified tests/gui/test_main_window.py to add tests for hotkeys. - Modified tests/gui/test_pick_tab.py to update tests to use public function.
- Modified model.py to add a tomogram finder utility. - Modified gui/main_window.py to step tomograms using key presses instead of shortcuts. - Modified gui/panes/tomo_pane.py to fix jumping and restyle elements. - Modified tests/test_model.py to add test for finder utility. - Modified tests/gui/test_main_window.py to check tomogram step keypresses. - Modified tests/gui/test_panes.py to add tests for jumping and restyle.
- Modified gui/tabs/pick_tab.py to add tomogram pane to splitter. - Modified gui/main_window.py to drop the tomogram dock. - Modified tests/gui/test_pick_tab.py to add tests for tomogram pane. - Modified tests/gui/test_main_window.py to remove test for tomogram dock.
- Modified gui/components/status.py to add function to map estimate's state and flags to a status. - Modified gui/tabs/pick_tab.py to add status column to pick table. - Modified tests/gui/test_components.py to add test for status mapping. - Modified tests/gui/test_pick_tab.py to update tests.
- Modified gui/style.py to add a viewable toggle. - Modified gui/tabs/pick_tab.py to add viewable toggles for overlays, move kind buttons to a setting group, and to narrow settings pane. - Modified tests/gui/test_pick_tab.py to define tests for the new layout.
- Modified gui/tabs/pick_tab.py to replace contrast controls with range slider and to add brightness slider, and to make Auto a checkbox that unticks on manual changes. - Modified tests/gui/test_pick_tab.py to add tests covering image control settings.
- Modified gui/components/canvas.py to add fill function to zoom tomogram until canvas filled. - Modified gui/tabs/pick_tab.py to add a fill button alongside fit button. - Modified tests/gui/test_components.py to add test for fill function. - Modified tests/gui/test_pick_tab.py to add test for fit/fill buttons.
- Modified gui/tabs/review_tab.py to restyle review tab layout, use icons and replace flagged checkbox with dropdown. - Modified tests/gui/test_review_tab.py to add tests for restyled tab layout.
- Modified gui/tabs/review_tab.py to fit tomogram & kind columns to contents and to add estimate status icon. - Modified tests/gui/test_review_tab.py to cover updated review table.
- Modified gui/tabs/review_tab.py to add headings to preview images. - Modified tests/gui/test_review_tab.py to add tests for headings.
- Modified export.py to add csv export functions. - Modified tests/test_export.py to add tests covering the csv export.
- Modified average.py to add labels, grid and pad to average result. - Modified tests/test_average.py to cover result additions.
- Modified gui/style.py to add translucent label box style. - Modified gui/components/images.py to add image helpers. - Modified gui/panes/average_pane.py to show subheadings, labelled montage, save button, spinner and toast messages. - Modified tests/gui/test_panes.py to add tests for restyled average pane. - Modified tests/gui/test_components.py to add tests for new image helpers.
- Modified gui/tabs/export_tab.py to use single export button with format checkboxes, clarify what files will be included in export, replace log with spinner/toast, and have extract button. - Modified tests/gui/test_export_tab.py to cover restyled export tab.
- Modified gui/style.py to add white icons, a size option for icon buttons, quiet tables and transparent scroll styles. - Modified gui/panes/tomograms_pane.py to call use quiet table style. - Modified tests/gui/test_style.py to add tests for new style utilities.
- Modified gui/tabs/project_tab.py to update button styles, narrow kinds column, and use transparent scrollbars. - Modified gui/panes/kinds_pane.py to update button styles. - Modified tests/gui/test_project_tab.py to add tests covering changes to icons.
- Modified gui/tabs/pick_tab.py to use quiet table styling. - Modified gui/tabs/review_tab.py to use quiet table styling. - Modified gui/tabs/export_tab.py to use quiet table styling. - Modified gui/dialogs/new_project_dialog.py to use quiet table styling. - Modified tests/gui/test_dialogs.py to add test for quiet table styling. - Modified tests/gui/test_export_tab.py to add test for quiet table styling. - Modified tests/gui/test_pick_tab.py to add test for quiet table styling. - Modified tests/gui/test_review_tab.py to add test for quiet table styling.
- Modified gui/panes/kinds_pane.py to adjust spacing between kinds in multiple columns. - Modified gui/tabs/project_tab.py to adjust relative distribution of tomograms and kinds columns.
- Modified gui/tabs/pick_tab.py to disable delete until pick selected, and update button styling. - Modified gui/components/range_slider.py to draw solid handles to match native slider. - Modified gui/panes/tomo_pane.py to remove enter instruction from search box. - Modified tests/gui/test_pick_tab.py to add test for delete button selection. - Modified tests/gui/test_components.py to add tests for handle rendering. - Modified tests/gui/test_panes.py to add test that enter in search box doesn't step tomogram.
- Modified gui/main_window.py to open in small window for welcome page and grow/shrink when a project opens/closes. - Modified tests/gui/test_main_window.py to add tests for resizing.
- Modified gui/components/toast.py to add a saved option to notify. - Modified gui/panes/average_pane.py to mark saves. - Modified gui/tabs/export_tab.py to mark saves. - Modified tests/gui/test_components.py to add tests for notify's save option.
- Modified gui/components/images.py to add label drawing helpers. - Modified gui/tabs/review_tab.py to show labelled XY, XZ and YZ crops, white icons and wider spacing. - Modified tests/gui/test_components.py to add tests for label drawing helpers. - Modified tests/gui/test_review_tab.py to add tests for restyled tab.
- Modified average.py to label each montage with "<pick number> (<tomogram name>)". - Modified gui/components/images.py to size labels. - Modified tests/test_average.py to add test for labelling. - Modified tests/gui/test_components.py to add test for label sizing.
- Modified average.py to stop writing files, add counts to results and add a helper to save files. - Modified tests/test_average.py to add tests covering the averaging/saving split.
- Modified gui/panes/average_pane.py to use column layout for controls/tomogram list. - Modified tests/gui/test_panes.py to add tests for saving and layout. - Modified tests/gui/test_main_window.py to update window size.
- Modified gui/style.py to share the icon-over-text button and add a medium-sized button. - Added gui/components/assets to add the download and crop icons. - Modified gui/tabs/export_tab.py to export pane. - Modified tests/gui//test_components.py to add download and crop icon stems. - Modified tests/gui/test_export_tab.py to add test for layout. - Modified tests/gui/test_main_window.py to update expected savings. - Modified tests/gui/test_style.py to add test for medium-sized button.
- Modified gui/main_window.py to use animated resizing and to not show tab bar on welcome pane. - Modified tests/gui/test_main_window.py to update tests to match restyle.
- Modified gui/components/images.py to add image tiling for montage. - Modified gui/panes/average_pane.py to tile displayed montage to fit window shape. - Modified gui/tabs/export_tab.py to size export table columns to headings and contents. - Modified tests/gui/test_components.py to add tests for image tiling and labelling. - Modified tests/gui/test_panes.py to add test for saved montage remaining square. - Modified tests/gui/test_export_tab.py to add tests for table restyling.
- Modified README.md to match new layout/workflow. - Updated docs/images/* to match new layout/workflow.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog
Project,Pick,Review,Export) and adds various GUI improvements.pickmix.