mantidproject / mantid

Main repository for Mantid code
https://www.mantidproject.org
GNU General Public License v3.0
211 stars 123 forks source link

IDAaaS Plotting Smoke Tests :chart_with_upwards_trend: :bar_chart: #36257

Closed robertapplin closed 1 year ago

robertapplin commented 1 year ago

An IDAaaS session link will be shared with you. It will either be a no-GPU or a GPU IDAaaS instance. All IDAaaS-installed packages are Conda installs.

Before testing:

Afterwards:

If you have any questions please contact the creator of this issue.

:chart_with_upwards_trend: :bar_chart:

RichardWaiteSTFC commented 1 year ago

Plot windows, insturment view, sliceviewer and interfaces (e.g. Engineering Diffraction UI) do not have a maximise or minimize buttons image

If you right-click the window title bar the options are greyed out image

The main window does have them enabled (as do the workbench settings) image

RichardWaiteSTFC commented 1 year ago

Changing color limit of 3D surface plot using figure options (or double click on z-azis)

Traceback (most recent call last):
  File "/home/l1115324/.conda/envs/mantid6.8_env/lib/python3.10/site-packages/workbench/plotting/propertiesdialog.py", line 50, in on_ok
    self.canvas.draw()
  File "/home/l1115324/.conda/envs/mantid6.8_env/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 405, in draw
    self.figure.draw(self.renderer)
  File "/home/l1115324/.conda/envs/mantid6.8_env/lib/python3.10/site-packages/matplotlib/artist.py", line 74, in draw_wrapper
    result = draw(artist, renderer, *args, **kwargs)
  File "/home/l1115324/.conda/envs/mantid6.8_env/lib/python3.10/site-packages/matplotlib/artist.py", line 51, in draw_wrapper
    return draw(artist, renderer)
  File "/home/l1115324/.conda/envs/mantid6.8_env/lib/python3.10/site-packages/matplotlib/figure.py", line 3081, in draw
    self.patch.draw(renderer)
  File "/home/l1115324/.conda/envs/mantid6.8_env/lib/python3.10/site-packages/matplotlib/artist.py", line 51, in draw_wrapper
    return draw(artist, renderer)
  File "/home/l1115324/.conda/envs/mantid6.8_env/lib/python3.10/site-packages/matplotlib/patches.py", line 589, in draw
    self._draw_paths_with_artist_properties(
  File "/home/l1115324/.conda/envs/mantid6.8_env/lib/python3.10/site-packages/matplotlib/patches.py", line 574, in _draw_paths_with_artist_properties
    renderer.draw_path(gc, *draw_path_args)
  File "/home/l1115324/.conda/envs/mantid6.8_env/lib/python3.10/site-packages/matplotlib/backends/backend_agg.py", line 187, in draw_path
    raise OverflowError(msg) from None
OverflowError: Exceeded cell block limit in Agg, however for the following reasons:

- can not split filled path
- path.should_simplify is False

we can not automatically split up this path to draw.

Please manually simplify your path.

image

Raised issue #36264

RichardWaiteSTFC commented 1 year ago

Issue (but not a regression - seen in v6.7) with Peak actions in sliceviewer. (1) open a ws in sliceviewer (2) Overlay peak table (3) Click Add Peak in actions at top (4) Delete peak table (this should close peak table in sliceviewer) (5) Click in 2D plot

Traceback (most recent call last):
  File "/home/l1115324/.conda/envs/mantid6.8_env/lib/python3.10/site-packages/matplotlib/cbook/__init__.py", line 307, in process
    func(*args, **kwargs)
  File "/home/l1115324/.conda/envs/mantid6.8_env/lib/python3.10/site-packages/mantidqt/widgets/sliceviewer/presenters/presenter.py", line 453, in canvas_clicked
    self._peaks_presenter.add_delete_peak(pos)
  File "/home/l1115324/.conda/envs/mantid6.8_env/lib/python3.10/site-packages/mantidqt/widgets/sliceviewer/peaksviewer/presenter.py", line 358, in add_delete_peak
    presenter_active.add_peak(pos)
AttributeError: 'NoneType' object has no attribute 'add_peak'

Raised issue #36266

RichardWaiteSTFC commented 1 year ago

In instrument view - adding a single-crystal peak in side-by-side view adds a more than one peak at a time - have raised an issue #36262

RichardWaiteSTFC commented 1 year ago

Issues raised