diff options
| author | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-10-12 18:00:53 +0200 |
|---|---|---|
| committer | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-10-12 18:00:53 +0200 |
| commit | ad3bb1e37e5feb22d3a8eb9e99e072f613fa186c (patch) | |
| tree | a587d6ceb1d72485096b175555572822aadddb85 /src/lib.rs | |
| parent | fb62e3e75b115206aeda0178aba4686234f8592e (diff) | |
| parent | 9cc1631324216d564aca4448cbe71f49dbf2a4af (diff) | |
| download | genenetwork4-ad3bb1e37e5feb22d3a8eb9e99e072f613fa186c.tar.gz | |
merge
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs index 6be5cff..50db2b5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -11,6 +11,7 @@ mod db; pub mod embedded; mod error; pub mod indexer; +mod gemma; pub mod response; mod routes; pub mod search; @@ -77,7 +78,9 @@ pub fn app() -> Router { .routes(routes!(routes::traits::trait_values)) .routes(routes!(routes::publications::publication_traits)) .routes(routes!(routes::search::search)) - .routes(routes!(routes::correlation::correlation)); + .routes(routes!(routes::correlation::correlation)) + .routes(routes!(routes::gemma::compute_gemma)) + .routes(routes!(routes::gemma::gemma_status)); // Registered -- and so reachable and listed in /openapi.json -- unless // GENENETWORK4_TEST_TOKEN switches it off; when registered it decides // per request whether the caller is local. See src/routes/dev.rs. |
