Skip to content

Commit 8c6ec24

Browse files
chores: update showcase script and configuration file
1 parent 4867b3e commit 8c6ec24

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

04_workdir.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ logging:
77
filename: logs/app_go_logger.log
88
loggers:
99
default:
10-
level: DEBUG
10+
level: WARNING
11+
12+
# Logger configuration for each package
1113
pkg_infra:
1214
level: INFO
13-
handlers: [file, console]
14-
propagate: false
15+
1516
download_manager:
1617
level: INFO
1718
handlers: [file, console]
@@ -30,6 +31,7 @@ integrations: # New question: store the big yaml?
3031
settings:
3132
- enabled: true # This will be switch <--- what should be the default value?
3233
- cache_path: ontograph_config.yaml
34+
- downloader: download_manager
3335
- source_ontology: chebi
3436
- backend: graphblas
3537

sandbox/use_case_downloaders.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ def main():
3838
client = ClientOntology(cache_dir=cache_dir, downloader=downloader)
3939
client.load(source='go') # catalog download
4040

41+
# Print roots of GO ontology
42+
logger.info("Roots GO ontology: ")
43+
logger.info(f"{client.get_root()}")
44+
4145
if __name__ == '__main__':
4246

4347
main()

0 commit comments

Comments
 (0)