-
Notifications
You must be signed in to change notification settings - Fork 13
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
csv support #75
csv support #75
Conversation
img_ids is not used except for SPW data
@will-moore would it be possible to impose a file size limit? We often deal with CSVs in 10s of GBs which could potentially lead to pretty severe side effects. |
a3a8a5f
to
eec2113
Compare
@emilroz Done (see last commit). I've set the default to 100MB and this is configurable. |
Created a 13 ROIs-strong csv using the Batch ROI export script on a Project. See https://merge-ci.openmicroscopy.org/web/webclient/?show=project-15107 |
Actually, the problem is not that the whole app does not work. I can still use the lower menu, which adds columns, and it works fine. |
@pwalczysko You reported this already in 2018: #43 |
Filtering for "Image" from the csv does not make sense and/or does not work:
P.S. After trying to put some numbers in (not text as previously), I can see that the filtering is happening, but still, no tooltip suggestions, and where is the |
The |
Area is another interesting case. As some of my images have ROIs which have no areas, they just vanish when this filter comes up. This has some justification. Nevertheless, it invites the question about the empty values in my csv, which is much more general. Does no value mean "filter me out of sight" ? Maybe better would be a warning+some other highlighting of the images (greying out ?) as the |
The lenght filtering (2 valid values only) does not seem to make sense. |
Couple of comments. Maybe some of them are generally about parade. I think #75 (comment) is pertaining to this workflow though |
And #75 (comment) is fixed. |
Discussed with @will-moore : the Happy to merge then, as the PR still brings an important new functionality |
Thanks @pwalczysko - Yes, I don't want to try and fix all the UI issues in this PR. |
MAX_CSV_SIZE = parade_settings.MAX_CSV_SIZE | ||
|
||
|
||
def get_csv_annotations(conn, obj_type, obj_id): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
another example of method that should go to the gateway
Overall it looks fine but we should now start thinking of methods that we can re-use since we do the same over and over either in training example script/analysis examples or web app. |
I redeployed that last commit and added a CSV file to https://merge-ci.openmicroscopy.org/web/webclient/?show=project-6358 user-3 with an |
idr0021 does not have in the list of filter edit: discussed with @will-moore This is due to the fact that there is a limit set for large CSV. |
Yes, OMERO-web job had |
The file is now available and working. |
This adds CSV support to OMERO.parade for filtering and table_columns / scatter plot.
To test:
Image
column orimage_id
column (NB: this can be created withBatch_ROI_Export.py
but may give confusing results if there is more than 1 row per Image ID..csv
file on the Project/Plate. NB: only alpha-numeric characters, underscore and.
are allowed in this list since parade UI uses the chosen option to the URL directly. Other characters are currently replaced by underscore. Alternative option is to relax the URL regex to allow more flexibility. Currently this isr'^filters/script/(?P<filter_name>[\w.]+)/$'
file.csv column
in the drop-down list. This allows choosing columns from multiple different CSV files.Batch_ROI_Export.py
to create a CSV since Batch export ROIs from screen omero-scripts#156 adds Plate support.omero config set omero.web.parade.max_csv_size 1000000
. Any CSV file over this size should be ignored by filters and 'table data'. The default limit without this setting is 100MB.