-
Notifications
You must be signed in to change notification settings - Fork 2
Schema update 3.0 #169
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
Open
dpopleton
wants to merge
39
commits into
main
Choose a base branch
from
update/schema3
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Schema update 3.0 #169
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
e9bcad0
Model update to match the schema 3.0 plan
dpopleton 7c7f14d
Model correction and a couple temporary scripts
dpopleton e505efc
Model correction
dpopleton 76f2a8e
Predeletion commit of sqlite testing
dpopleton 836cddd
Predeletion commit of sqlite testing
dpopleton 52512a3
Full conversion of tests to sqlite3
dpopleton a498e7a
Vastly improved testing
dpopleton b7c2cb4
fixed single failing test.
dpopleton 3948ca6
Removed accidental space
dpopleton 3bc24c5
tol_id moved from assembly to organism
dpopleton 3e86ff5
Update to match Jorge's suggestions. Initial search outline
dpopleton 3325c60
Update to match Jorge's suggestions. Initial search outline
dpopleton 29fcba7
Minor updates that tests passed for. Then integrated data was added t…
dpopleton aae15b3
Fixed integrated tests for everything but grpc
dpopleton 379dffe
Fixed integrated tests for everything but grpc
dpopleton 3846a3f
Updated script behaviour of exports
dpopleton b5ca4b0
Minor fix of ftp_index.py
dpopleton 59aa727
Initial search build
dpopleton 2d4d57b
Integrated vs Partial release choice
mira13 4753235
Fixed test test_fetch_with_celegans_all_args, removed cnf.allow_unrel…
mira13 927298b
Comments and improvements for the current relese chioce func
mira13 d2c00eb
Genome moved to genome status variable, cnf allow_unreleased removed
mira13 898e7aa
Test fixes, 56 to go
mira13 429c09d
Allow_unreleased and is current removed from tests parmaters
mira13 5318b1b
Fixed test_fetch_genomes_by_genome_uuid
mira13 d25ca4e
More allow unreleased removed and test count adjusted
mira13 5ecdada
Fixed test_fetch_genome_uuid and typo
mira13 9ff5630
Fixed test_fetch_genome_dataset_by_organism_uuid
mira13 b0b04d6
Fixed test_fetch_related_assemblies_count test_fetch_related_assembli…
mira13 9c2a78a
Test fix complete
mira13 6dc6f08
Minor schema change. Full introduction of species search with taxonomy
dpopleton 1962b25
Merge remote-tracking branch 'origin/update/schema3' into update/schema3
dpopleton d354a9d
Made the test pass. With force
dpopleton d3fb65b
fix gitlab ci cd pipeline (similar to PR174)
bilalebi bee45e2
Merge branch 'main' into update/schema3
bilalebi cb1be68
fix test_normalize_species_name broken test
bilalebi fe85e1c
minor gRPC fix
bilalebi c3f5be8
Removed old code that is unused
dpopleton edf0eff
Merge remote-tracking branch 'origin/update/schema3' into update/schema3
dpopleton 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
Some comments aren't visible on the classic Files Changed page.
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
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 |
|---|---|---|
|
|
@@ -4,14 +4,8 @@ dist: focal | |
| python: | ||
| - '3.10' | ||
| - '3.11' | ||
| services: | ||
| - mysql | ||
| before_script: | ||
| # In MySQL 8, local_infile is disabled by default for security reasons. | ||
| # By adding SET GLOBAL local_infile=1;, we enable this feature at runtime. | ||
| - mysql -e "SET GLOBAL local_infile=1;" | ||
| - pip install . | ||
| - pip install .[test] | ||
| script: | ||
| - echo "DB_HOST $METADATA_URI $TAXONOMY_URI" | ||
| - coverage run -m pytest -c pyproject.toml --server mysql://[email protected]:3306 | ||
| - coverage run -m pytest -c pyproject.toml | ||
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 |
|---|---|---|
|
|
@@ -61,6 +61,7 @@ dependencies = [ | |
| "duckdb-engine >= 0.17.0", | ||
| "pymysql", | ||
| "mysqlclient", | ||
| "pydantic" | ||
| ] | ||
|
|
||
| [project.urls] | ||
|
|
||
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
362 changes: 254 additions & 108 deletions
362
src/ensembl/production/metadata/api/adaptors/genome.py
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.