Skip to content

Seqcol store app factory - #101

Merged
nsheff merged 23 commits into
devfrom
seqcol-store-app-factory
Aug 7, 2026
Merged

Seqcol store app factory#101
nsheff merged 23 commits into
devfrom
seqcol-store-app-factory

Conversation

@nsheff

@nsheff nsheff commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Moves seqcolapi server code into the refget package proper, as a module with gated.

also some other improvements to gating and stuff.

@nsheff
nsheff changed the base branch from master to dev July 25, 2026 22:19
nsheff added 14 commits July 25, 2026 18:25
add_sequence_collections_from_fastas returns an ImportReport rather than a list
of (metadata, was_new) pairs, and PyImportReport defines neither __iter__ nor
__getitem__, so iterating it and calling len() on it both raised TypeError.

Read .collections for the per-file results, and surface the report's per-run
ingest counters in the JSON output. Also update the stats docstring, which still
advertised n_collections_loaded: that key is now n_collections_in_memory, and
the docstring now says what those gauges actually measure -- RAM residency at
the moment stats() is called, typically 0 for a disk-backed store -- so they
stop being read as ingest counts.
@nsheff
nsheff merged commit 412293b into dev Aug 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant