Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

filter_list getObjects(None) #78

Open
will-moore opened this issue Jul 8, 2020 · 0 comments
Open

filter_list getObjects(None) #78

will-moore opened this issue Jul 8, 2020 · 0 comments

Comments

@will-moore
Copy link
Member

Reported at https://www.openmicroscopy.org/qa2/qa/feedback/29402/

File "/opt/omero/web/venv3/lib/python3.6/site-packages/omero_parade/views.py", line 114, in filter_list
filters.extend(module.get_filters(request, conn))

File "/opt/omero/web/venv3/lib/python3.6/site-packages/omero_parade/csv_filters/omero_filters.py", line 53, in get_filters
csv_anns = get_csv_annotations(conn, obj_type, obj_id)

File "/opt/omero/web/venv3/lib/python3.6/site-packages/omero_parade/csv_filters/data_providers.py", line 34, in get_csv_annotations
obj = conn.getObject(obj_type, obj_id)

File "/opt/omero/web/venv3/lib/python3.6/site-packages/omero/gateway/__init__.py", line 3268, in getObject
obj_type, oids, params, attributes, opts)

File "/opt/omero/web/venv3/lib/python3.6/site-packages/omero/gateway/__init__.py", line 3349, in buildQuery
"'Image' not %r" % obj_type)

AttributeError: getObjects uses a string to define obj_type, E.g. 'Image' not None
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

No branches or pull requests

1 participant