-
Notifications
You must be signed in to change notification settings - Fork 1
Release v0.9.0 #159
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
Merged
Merged
Release v0.9.0 #159
Changes from all commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
83374b0
updated trackhub file for bedset
khoroshevskyi 1358cb8
excluded from schema trackhub endpoint
khoroshevskyi 8e15412
fix search table stretched link in safari
sanghoonio b76fc2a
1. Fixed #153
khoroshevskyi d465967
ui update for bed description
khoroshevskyi 891e877
ui - disabled link if genome digest is not provided
khoroshevskyi 082c766
Merge branch 'dev' into dev_sam
sanghoonio b43828a
bootstrap detail cleanup
sanghoonio 86e9e37
address #153 and #154, and clean up more ui related details
sanghoonio 52543cd
ui detail cleanup
sanghoonio 1f9eb9d
description placeholder text for bed splash
sanghoonio 9e999c8
bed sets table height consistency
sanghoonio 44f1592
bedsets typo
sanghoonio 0fc1b37
address comments
sanghoonio 6afecec
Merge pull request #155 from databio/dev_sam
sanghoonio 7b8c0d1
prettier
nleroy917 1c3c395
ui - work on mobile version
khoroshevskyi 07f7f19
ui - work on mobile version 2
khoroshevskyi fafaf56
mobile improvement
sanghoonio d6a1f18
type error
sanghoonio ce3f370
header details
sanghoonio 8ffd0c5
header details again
sanghoonio d62b1c7
fixed scroll bar
khoroshevskyi 8267496
rolled back combined text search
khoroshevskyi 94ff8da
mobile and safari ui improvements
sanghoonio 2a2a962
ui merge
sanghoonio 9bfee65
home page detail
sanghoonio 2f16394
home page typo
sanghoonio ea59540
fix safari homepage again
sanghoonio 4c83562
Added endpoint and ui modal that creates bedsets
khoroshevskyi 2b3a231
bedset modal cleanup
sanghoonio fb440fa
Added id search if text2bed
khoroshevskyi a489543
Merge remote-tracking branch 'origin/bedset_creation' into bedset_cre…
khoroshevskyi 4a4db2c
fixed types
khoroshevskyi 0a5e8d5
update cart page details
sanghoonio fe964e6
bedset modal detail fix
sanghoonio 3b75f43
bed splash header detail
sanghoonio d0f5a71
bed cart detail
sanghoonio 9c9a357
work on adding ui for creating bedsets
khoroshevskyi 4dfd439
Merge remote-tracking branch 'origin/bedset_creation' into bedset_cre…
khoroshevskyi d338779
Fixed error type
khoroshevskyi b71762b
Work on bedset erroring
khoroshevskyi d669d63
Added bedset metadata
khoroshevskyi 94be5c4
Merge pull request #157 from databio/bedset_creation
khoroshevskyi babb5e1
bedset creation modal details
sanghoonio f80e2a8
some tests
nsheff 876ce2d
Merge branch 'dev' of github.com:databio/bedhost into dev
nsheff f7b3675
Fixed #103
khoroshevskyi ea3c195
bedset header ui details
sanghoonio a676ad2
type error
sanghoonio 2e3251f
fixed tooltip and lint
khoroshevskyi 7d354a1
Merge remote-tracking branch 'origin/dev' into dev
khoroshevskyi 08f2743
fixed tooltip
khoroshevskyi f772a81
added geniml version
khoroshevskyi ac59324
remove footer again from nonempty cart page
sanghoonio a41e47d
Added reference validation endpoint
khoroshevskyi ee8aee8
Merge remote-tracking branch 'origin/dev' into dev
khoroshevskyi dd09342
Fixed #156
khoroshevskyi 0c31b81
FIxed previous commit
khoroshevskyi 1215618
Fixed comments
khoroshevskyi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| __version__ = "0.8.0" | ||
| __version__ = "0.9.0" |
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,56 @@ | ||
| import bbconf | ||
|
|
||
| bba = bbconf.BedBaseAgent("deployment/config/api-dev.bedbase.org.yaml") | ||
|
|
||
| bba.config._b2bsi = bba.config._init_b2bsi_object() | ||
| bba.config._r2v = bba.config._init_r2v_object() | ||
| bba.config._bivec = bba.config._init_bivec_object() | ||
|
|
||
|
|
||
| # Here's some code to test the BiVectorSearchInterface | ||
|
|
||
| from geniml.search.interfaces import BiVectorSearchInterface | ||
| from geniml.search.backends import BiVectorBackend | ||
|
|
||
| from geniml.search.query2vec import Text2Vec | ||
|
|
||
| search_backend = BiVectorBackend( | ||
| metadata_backend=self._qdrant_text_engine, bed_backend=self._qdrant_engine | ||
| ) | ||
|
|
||
| t2v = Text2Vec("sentence-transformers/all-MiniLM-L6-v2", v2v=None) | ||
|
|
||
| bvsi = BiVectorSearchInterface() | ||
|
|
||
| from langchain_huggingface.embeddings import HuggingFaceEmbeddings | ||
| import logging | ||
| from typing import Union | ||
|
|
||
| import numpy as np | ||
| from langchain_huggingface.embeddings import HuggingFaceEmbeddings | ||
|
|
||
| from geniml.text2bednn import Vec2VecFNN | ||
| from geniml.search.query2vec.abstract import Query2Vec | ||
|
|
||
| # culprit: | ||
| te = HuggingFaceEmbeddings(model_name="sentence-transformers/all-MiniLM-L6-v2") | ||
|
|
||
| # Testing the sentence transformers: | ||
|
|
||
|
|
||
| from sentence_transformers import SentenceTransformer | ||
|
|
||
| sentences = ["This is an example sentence", "Each sentence is converted"] | ||
|
|
||
| model = SentenceTransformer("sentence-transformers/all-MiniLM-L6-v2") | ||
| embeddings = model.encode(sentences) | ||
| print(embeddings) | ||
|
|
||
|
|
||
| from fastembed import TextEmbedding | ||
|
|
||
| model = TextEmbedding( | ||
| model_name="sentence-transformers/all-MiniLM-L6-v2", max_length=512 | ||
| ) | ||
| sentences = ["This is an example sentence", "Each sentence is converted"] | ||
| embeddings = list(model.embed(sentences)) |
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.