glotzerlab / glotzerlab/ovito-scripts

Ovito 3.11 Updates required

Open
#33 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
16
Forks
3
Avg merge
11h 43m
Merged PRs (30d)
2

Description

Tried to use the Diffraction Pattern Overlay in Ovito and got the following error:

Traceback (most recent call last):
File "", line 26, in render
RuntimeError: The viewport field has been removed from this deprecated class in OVITO 3.11. Please use the modern ViewportOverlayInterface instead to implement your custom viewport overlay.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names the Diffraction Pattern Overlay and the render traceback, but no file or test. Start by locating that overlay and checking its render path against OVITO 3.11's ViewportOverlayInterface. Done means the overlay works without the reported RuntimeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
computer-graphics, data-visualization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.