qupath / qupath-docs

QuPath documentation
http://qupath.readthedocs.io/
16 stars 22 forks source link

Sample scripts out of date for v0.5.0 #105

Closed petebankhead closed 4 months ago

petebankhead commented 7 months ago

See https://www.youtube.com/watch?v=Ou5qqHK5NV8

Specifically the Dialogs class has moved!

alanocallaghan commented 7 months ago

Should we also move and update the advice on scripting setups? Currently the intellij setup is on the wiki only, and I could add vscode instructions

petebankhead commented 7 months ago

Yes please!

alanocallaghan commented 4 months ago

The only mention of Dialogs is in the StarDist section (https://github.com/search?q=repo%3Aqupath%2Fqupath-docs%20Dialogs&type=code), and it doesn't specify where the import is from.

Reviewing the video, the import error is from import static qupath.lib.gui.scripting.QPEx. and import static qupath.lib.gui.scripting.QPEx, which aren't valid imports; the one in the docs is import static qupath.lib.gui.scripting.QPEx.*.

Having said that, draft of improved scripting instructions: #113