Skip to content

Spw grid view#4863

Merged
jburel merged 38 commits intoome:developfrom
will-moore:spw_grid_view
Nov 3, 2016
Merged

Spw grid view#4863
jburel merged 38 commits intoome:developfrom
will-moore:spw_grid_view

Conversation

@will-moore
Copy link
Copy Markdown
Member

@will-moore will-moore commented Sep 23, 2016

What this PR does

First PR towards support for new SPW 'grid' layout.
This introduces a few changes, but not "full support" of ome/design#52

  • When a Well is selected, right panel shows Well details & annotations (instead of Image)
  • Image thumbnails are shown for selected well(s) below plate.
  • Click to select an Image - this image will be shown in right panel.
  • Plate and Well Images can both be zoomed with sliders

This PR does not support a number of 'grid view' features (to come in future PRs)

  • Spacial layout of fields within well
  • Set number of columns in grid-view

screen shot 2016-09-23 at 15 43 35

Testing this PR

  • Test Well annotations (Wells have not previously been annotatable)
    • Add, remove etc all types of annotations on Well.
    • Batch select Wells and add/remove annotations.
    • Metadata and Preview panels should be disabled for Wells
  • Test loading of thumbnails for selected wells:
    • Select wells by Click or multi-select by drag or shift-click
    • For each selected well, a row of images will be loaded in bottom pane
    • Bottom pane can be resized by drag handle
    • Plate and well Images can be zoomed with sliders in bottom-right of each panel
  • Clicking a single Image in bottom panel will load that image in Right panel.
  • Can select Images / Wells in turn.

TODO for this PR:

  • Multi-select Images
  • Indicate selected images with border etc.
  • Preserve zoom sizes when switching between Plates
  • Refresh Well grid thumbnails ( 'Save To All' or just 'Save')
  • Handle browsing Tag tree -> Well. What do we show in tree/centre/right panels?
  • Tests for marshal_tagged in tree.py to test wells

@jburel jburel added the develop label Sep 26, 2016
@gusferguson
Copy link
Copy Markdown

Tested using http://web-dev-merge.openmicroscopy.org/webclient/usertags/?show=tag-14953 user-3 Safari

Works as expected:

  • annotation of individual wells
  • batch annotation of wells
  • selection of wells by dragging or shift-click
  • zooming of top and bottom panes - plate and well Images
  • right pane displaying correct information

Not working as expected:

  • tagged wells are not showing up in the Tags tab tree

@dominikl
Copy link
Copy Markdown
Member

I still struggle with this whole data model... in the clients we have runs and fields, in the data model there are plateacquisitions, wellsamples, etc. is that the same, how does that fit together?

@mtbc
Copy link
Copy Markdown
Member

mtbc commented Sep 27, 2016

Yes, plate acquisitions are runs, well samples are fields. You'll tend to find the former terms more in the guts of the system and the latter more as we face users.

@will-moore
Copy link
Copy Markdown
Member Author

@will-moore
Copy link
Copy Markdown
Member Author

To test last commit: resize thumbnails in both panels and also resize lower panel.
Then load a different Plate - thumb sizes and panel height should be maintained.

@pwalczysko
Copy link
Copy Markdown
Member

Ditto to all points raised by @gusferguson in #4863 (comment), including the Bug with Tags not containing wells in Tags tab.

I have one more issue: When the numerals are added (going from 9 to 10, i.e. from 1 to 2 numerals) there is a sudden formatting shift in lower pane (images). I do not see this as desirable.
screen shot 2016-09-27 at 11 06 40

@snoopycrimecop
Copy link
Copy Markdown
Member

Conflicting PR. Removed from build OMERO-DEV-merge-push#458. See the console output for more details.
Possible conflicts:

}

// Add plates to the jstree data structure
// Add acquistions (runs) to the jstree data structure
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

get_connection(userB).getUpdateService().saveObject(image_link)

# links is: project, dataset, image, screen, plate, acquisition
# links is: project, dataset, image, screen, plate, acquisition, well, well
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

duplicate

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what's returned in the array (2 wells).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is that?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because we want to test the retrieval of 2 wells

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you add a check for naming of columns/rows i.e. number vs letter

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what we're testing here: See def expected_wells(user, wells): which generates the dictionary that we compare to what's returned by the tagged json, and includes 'name'.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks I missed it

@will-moore will-moore closed this Oct 21, 2016
@will-moore will-moore reopened this Oct 21, 2016
@will-moore will-moore closed this Oct 21, 2016
@will-moore will-moore reopened this Oct 21, 2016
@will-moore
Copy link
Copy Markdown
Member Author

@pwalczysko Last commits fix the slider display as reported in #4863 (comment)

screen shot 2016-10-21 at 15 28 23

@will-moore will-moore closed this Oct 24, 2016
@will-moore will-moore reopened this Oct 24, 2016
@pwalczysko
Copy link
Copy Markdown
Member

The slider display and the reformatting of the borders is great.
Happy to merge, but probably one more look of @gusferguson and or @bramalingam would be good.

@gusferguson
Copy link
Copy Markdown

Agree with @pwalczysko - layout and sliders look good.
Good to merge from my POV.

@will-moore
Copy link
Copy Markdown
Member Author

Great, if we can get this merged now, I can fix conflicts with #4708 and re-open it. Thanks.

@jburel
Copy link
Copy Markdown
Member

jburel commented Oct 26, 2016

One item that has not been addressed in this PR is the unticked item in the description
i.e. what to display when a well is tagged and display.

We can certainly do that in another PR

Currently we have for example B4, and we have no way to find where that well is
e.g. user-1 test tag
when an image is tagged at least we know where it is located

@jburel
Copy link
Copy Markdown
Member

jburel commented Oct 27, 2016

https://trello.com/c/GxqDnD0P/211-spw-follow-up for next actions

@snoopycrimecop
Copy link
Copy Markdown
Member

Conflicting PR. Removed from build OMERO-DEV-merge-push#489. See the console output for more details.
Possible conflicts:

  • PR Webgateway api2 #4708 will-moore 'Webgateway api2'
    • components/tools/OmeroWeb/omeroweb/webclient/views.py
  • Upstream changes
    • components/tools/OmeroWeb/omeroweb/webclient/views.py

@snoopycrimecop
Copy link
Copy Markdown
Member

Conflicting PR. Removed from build OMERO-DEV-merge-push#490. See the console output for more details.
Possible conflicts:

  • PR histograms #4703 will-moore 'histograms'
    • components/tools/OmeroWeb/omeroweb/webclient/views.py
  • PR Webgateway api2 #4708 will-moore 'Webgateway api2'
    • components/tools/OmeroWeb/omeroweb/webclient/views.py
  • Upstream changes
    • components/tools/OmeroWeb/omeroweb/webclient/views.py

@snoopycrimecop
Copy link
Copy Markdown
Member

Conflicting PR. Removed from build OMERO-DEV-merge-push#491. See the console output for more details.
Possible conflicts:

  • PR histograms #4703 will-moore 'histograms'
    • components/tools/OmeroWeb/omeroweb/webclient/views.py
  • PR Webgateway api2 #4708 will-moore 'Webgateway api2'
    • components/tools/OmeroWeb/omeroweb/webclient/views.py
  • Upstream changes
    • components/tools/OmeroWeb/omeroweb/webclient/views.py

@snoopycrimecop
Copy link
Copy Markdown
Member

Conflicting PR. Removed from build OMERO-DEV-merge-push#492. See the console output for more details.
Possible conflicts:

  • PR histograms #4703 will-moore 'histograms'
    • components/tools/OmeroWeb/omeroweb/webclient/views.py
  • PR Webgateway api2 #4708 will-moore 'Webgateway api2'
    • components/tools/OmeroWeb/omeroweb/webclient/views.py
  • Upstream changes
    • components/tools/OmeroWeb/omeroweb/webclient/views.py

@snoopycrimecop
Copy link
Copy Markdown
Member

Conflicting PR. Removed from build OMERO-DEV-merge-push#493. See the console output for more details.
Possible conflicts:

  • PR histograms #4703 will-moore 'histograms'
    • components/tools/OmeroWeb/omeroweb/webclient/views.py
  • PR Webgateway api2 #4708 will-moore 'Webgateway api2'
    • components/tools/OmeroWeb/omeroweb/webclient/views.py
  • Upstream changes
    • components/tools/OmeroWeb/omeroweb/webclient/views.py

@snoopycrimecop
Copy link
Copy Markdown
Member

Conflicting PR. Removed from build OMERO-DEV-merge-push#494. See the console output for more details.
Possible conflicts:

  • PR histograms #4703 will-moore 'histograms'
    • components/tools/OmeroWeb/omeroweb/webclient/views.py
  • PR Webgateway api2 #4708 will-moore 'Webgateway api2'
    • components/tools/OmeroWeb/omeroweb/webclient/views.py
  • Upstream changes
    • components/tools/OmeroWeb/omeroweb/webclient/views.py

@will-moore will-moore mentioned this pull request Nov 3, 2016
1 task
@jburel
Copy link
Copy Markdown
Member

jburel commented Nov 3, 2016

Merging so we can move forward

@jburel jburel merged commit 7aa898d into ome:develop Nov 3, 2016
@will-moore will-moore mentioned this pull request Nov 7, 2016
@jburel jburel added this to the 5.3.0 milestone Mar 29, 2017
@will-moore will-moore deleted the spw_grid_view branch February 18, 2019 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants