Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/vfbquery/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
cache's version stamp can never drift apart.
"""

__version__ = "1.22.20"
__version__ = "1.22.21"
2 changes: 1 addition & 1 deletion src/vfbquery/ha_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ async def handle_get_term_info(request):
# "count", and flag "capped" so the UI can show "first N - refine". Override the
# cap with VFBQUERY_RESULT_ROW_CAP (default 10000; 0 disables).
try:
RESULT_ROW_CAP = int(os.getenv("VFBQUERY_RESULT_ROW_CAP", "10000") or "10000")
RESULT_ROW_CAP = int(os.getenv("VFBQUERY_RESULT_ROW_CAP", "25000") or "25000")
except ValueError:
RESULT_ROW_CAP = 10000

Expand Down
2 changes: 1 addition & 1 deletion src/vfbquery/vfb_queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -6062,7 +6062,7 @@ def get_dataset_images(dataset_short_form: str, return_dataframe=True, limit: in
return {"headers": {"id": {"title": "ID", "type": "selection_id", "order": -1}, "name": {"title": "Image", "type": "markdown", "order": 0}, "tags": {"title": "Tags", "type": "tags", "order": 1}, "type": {"title": "Type", "type": "text", "order": 2}, "template": {"title": "Template", "type": "markdown", "order": 3}, "technique": {"title": "Imaging Technique", "type": "text", "order": 4}, "thumbnail": {"title": "Thumbnail", "type": "markdown", "order": 9}}, "rows": [{key: row[key] for key in ["id", "name", "tags", "type", "template", "technique", "thumbnail"]} for row in safe_to_dict(df, sort_by_id=False)], "count": total_count}


ALL_ALIGNED_IMAGES_MAX_PAGE = 10000
ALL_ALIGNED_IMAGES_MAX_PAGE = 25000
_ALL_ALIGNED_IMAGES_HEADERS = {
"id": {"title": "ID", "type": "selection_id", "order": -1},
"name": {"title": "Image", "type": "markdown", "order": 0},
Expand Down
Loading