diff options
| author | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-11-22 18:45:52 +0000 |
|---|---|---|
| committer | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-11-22 18:45:52 +0000 |
| commit | 7281ee24bc479831fbfd5679896202685dffc49a (patch) | |
| tree | ec78cc30b9f4c67ee418363ececd197a8d72a876 /src | |
| parent | b223757bb5c04d03be5ccccf32488594134bb542 (diff) | |
| download | genenetwork4-7281ee24bc479831fbfd5679896202685dffc49a.tar.gz | |
docs: the six things a real test drive found wrong
A beta user's notes (Rob Williams, 2026-11-21) reported six things that were
wrong or misleading from the outside. Each is fixed where it lives:
* the sparse clone in section 8 does not work against this server ("dumb http
transport does not support shallow capabilities"); a shallow clone is 19 MB and
under two minutes, so the instruction is `--depth 1` and an explicit warning
against `--sparse`.
* "There are no write endpoints" contradicted section 3, which documents
baskets, matrices and genotype uploads. The data is read-only; the caller's
own material is not.
* the basket note said to map with /compute/qtl2 -- all four mapping routes take
`"basket"`, and the note (code and doc) now says so.
* "100 permutations take about 14 s" is not a constant: the cost is strains x
permutations, measured at 22 s for 1,000 on 21 strains, 221 s on 93 and 463 s
on 87.
* /compute/gemma is described as gemma-wrapper. It has run the Slurm route by
default since the engine switch, so "send the same body to both and compare"
compares ravanan with itself; the doc now says what the default is, how to read
which engine answered from meta.timing, and that the wrapper is the fallback.
* /compute/rqtl's rows moved into `data` (previous commit); the doc says so, and
that the permutation null is `meta.permutation`.
Diffstat (limited to 'src')
| -rw-r--r-- | src/routes/baskets.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/routes/baskets.rs b/src/routes/baskets.rs index 371502a..533a155 100644 --- a/src/routes/baskets.rs +++ b/src/routes/baskets.rs @@ -169,7 +169,7 @@ pub async fn list_baskets( .envelope(baskets) .with_note("Baskets are yours: they live in your own SQLite file, not in GeneNetwork's \ database.") - .with_note("A mapping can name one instead of posting values: POST /compute/qtl2 with \ + .with_note("A mapping can name one instead of posting values: POST /compute/rqtl, \ \"basket\": \"<name>\"."); envelope = envelope.with_links(crate::suggest::root_links()); Ok(Json(envelope)) @@ -222,7 +222,7 @@ pub async fn create_basket( .map_err(|error| map_error(error, rid.clone()))?; let mut envelope = ctx.envelope(stored).with_note( "Stored. Edit it with PATCH (a new revision, a new digest) and map it with \ - POST /compute/qtl2 {\"basket\": \"<name>\"}.", + POST /compute/rqtl, /compute/qtl2, /compute/gemma or /compute/gemma/ravanan \n {\"basket\": \"<name>\"}.", ); envelope = envelope.with_links(crate::suggest::root_links()); Ok((StatusCode::CREATED, Json(envelope))) @@ -263,7 +263,10 @@ pub async fn get_basket( .envelope(stored) .with_note("`revision` and `digest` identify these exact values: a mapping reply records \ them, so an edit cannot make two runs look alike.") - .with_note("Map it: POST /compute/qtl2 with \"basket\": \"<name>\" in place of `samples`."); + .with_note( + "Map it: POST /compute/rqtl, /compute/qtl2, /compute/gemma or \ + /compute/gemma/ravanan with \"basket\": \"<name>\" in place of `samples`.", + ); envelope = envelope.with_links(links); Ok(Json(envelope)) } |
