You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we do this in table_filters/data_providers.py, which picks a "random" table since _bulk_file_annotations() returns unsorted results from HQL query:
def get_table(conn, objtype, objid):
data = _bulk_file_annotations(None, objtype, objid, conn=conn).get(
'data', [])
if len(data) < 1:
return None
# Just use the first Table we find
# TODO: handle multiple tables!?
data = data[0]
Simply need to sort by ID, then pick the highest ID (most recent).
NB: Supporting multiple OMERO.tables (as we do for csv) is a much bigger task
The text was updated successfully, but these errors were encountered:
NB: Supporting multiple OMERO.tables (as we do for csv) is a much bigger task
Sure, but it could very useful since OMERO.web now supportes multiple OMERO.tables at the dataset level, all being read in the "Table" tab of each image, that wasn't the case before.
See https://forum.image.sc/t/multiple-omero-tables-crash-omero-parade/72477
Currently we do this in
table_filters/data_providers.py
, which picks a "random" table since_bulk_file_annotations()
returns unsorted results from HQL query:Simply need to sort by ID, then pick the highest ID (most recent).
NB: Supporting multiple OMERO.tables (as we do for csv) is a much bigger task
The text was updated successfully, but these errors were encountered: