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

Anchor refactor #39

Merged
merged 28 commits into from
Aug 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
830c14d
Add anchor types list and dynamic new anchor buttons
WarmCyan Aug 22, 2023
74ce4e9
Add anchor type list population and hook up modifications
WarmCyan Aug 22, 2023
b0897a8
Change anchorlist template and add row coloring
WarmCyan Aug 22, 2023
6056cd6
Add anchor types changed event and view event handler
WarmCyan Aug 22, 2023
517e28d
Merge branch 'main' into anchor-refactor
WarmCyan Aug 23, 2023
757a553
Change primary color indicator in anchorlist to be expand button
WarmCyan Aug 23, 2023
6c3f169
Add DESCRIPTION class attr to anchors
WarmCyan Aug 23, 2023
68cf369
Add name class attribute to anchors
WarmCyan Aug 23, 2023
a097209
Add example anchor type setting and event handlers
WarmCyan Aug 23, 2023
f149e93
Add automatic repopulation of anchor type lists
WarmCyan Aug 23, 2023
4e2cb27
Add default anchor type addition and automatic example anchor type co…
WarmCyan Aug 23, 2023
e12a3f7
Hook up example button to use default example anchor type
WarmCyan Aug 23, 2023
911b299
Fix spacing of expand/collapse toggle button
WarmCyan Aug 23, 2023
0052e46
Anchorlist spacing and styling fixes
WarmCyan Aug 23, 2023
d67be43
Add anchor type removal
WarmCyan Aug 24, 2023
0a3fa15
Update save and load code
WarmCyan Aug 24, 2023
217660a
Fix minor errors in model load code
WarmCyan Aug 24, 2023
64b147c
Add anchor type refresh button
WarmCyan Aug 24, 2023
d1dbd1e
Remove similarity functions
WarmCyan Aug 24, 2023
bbc3c5c
Merge branch 'main' into anchor-refactor
WarmCyan Aug 24, 2023
40be257
Merge branch 'main' into anchor-refactor
WarmCyan Aug 24, 2023
014a5f6
Fix base tests
WarmCyan Aug 24, 2023
da81950
Add color pallete swatches
WarmCyan Aug 24, 2023
c3c47fa
Fix data manager widget widths
WarmCyan Aug 25, 2023
22c3e20
Add tests for new anchor list functionality
WarmCyan Aug 25, 2023
222ad40
Update save/load tests
WarmCyan Aug 25, 2023
8687b89
Update similarity example notebook
WarmCyan Aug 25, 2023
54d4c2e
Update changelog
WarmCyan Aug 25, 2023
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
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,26 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.7.0] - 2023-08-25

### Added
* Anchor types tab to anchorlist, anchor classes in scope are automatically detected,
and can be dynamically added and removed.
* Color delineation to anchors, each row in the anchorlist and anchor in anchorviz is
colored corresponding to anchor color (configurable in anchor types tab.)
* Ability to change what anchor type is used when the "example" buttons are clicked.
* Optional description and name class attributes to anchors for display in the interface.
* Individual anchor-level `cache` dictionary that gets loaded and saved with the anchor
* Access to anchor list cache through an anchor `global_cache` property.

### Removed
* Similarity functions from model constructor and the similarity function anchor
(subclass the `SimilarityAnchorBase` and provide it with a `featurize()`
function instead - see the `lm_similarity_example` notebook.)




## [0.6.0] - 2023-08-22

### Added
Expand Down
4 changes: 2 additions & 2 deletions icat/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
table,
view,
)
from icat.anchors import Anchor, DictionaryAnchor, SimilarityFunctionAnchor, TFIDFAnchor
from icat.anchors import Anchor, DictionaryAnchor, TFIDFAnchor

# make the important things directly accessible off top level module
from icat.model import Model

__version__ = "0.6.0"
__version__ = "0.7.0"


def initialize(offline: bool = False):
Expand Down
Loading
Loading