Skip to content

Commit

Permalink
Merge pull request #3 from bento-platform/feat/genome-features
Browse files Browse the repository at this point in the history
feat: genome feature support
  • Loading branch information
davidlougheed authored May 22, 2024
2 parents 9811900 + 77b9e63 commit 29d2eeb
Show file tree
Hide file tree
Showing 39 changed files with 4,854 additions and 840 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Reference data (genomes & annotations) service for the Bento platform.
* Bento-style genome ingestion: **DONE**
* API endpoint permissions: **DONE**
* RefGet implementation: _Partially done_
* Annotation service: **Not done**
* Annotation service: _Partially done_
* Tests: _Partially done_
* Documentation: **Not done**

Expand Down
7 changes: 5 additions & 2 deletions bento_reference_service/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,14 @@ class Config(BentoBaseConfig):
service_url_base_path: str = "http://127.0.0.1:5000" # Base path to construct URIs from

database_uri: str = "postgres://localhost:5432"
data_path: Path = Path(__file__).parent / "data"
file_ingest_tmp_dir: Path = Path(__file__).parent.parent / "tmp" # Default to repository `tmp` folder
file_ingest_chunk_size: int = 1024 * 256 # 256 KiB at a time

file_response_chunk_size: int = 1024 * 16 # 16 KiB at a time
file_response_chunk_size: int = 1024 * 256 # 256 KiB at a time
response_substring_limit: int = 10000 # TODO: Refine default

feature_response_record_limit: int = 1000


@lru_cache()
def get_config():
Expand Down
Loading

0 comments on commit 29d2eeb

Please sign in to comment.