File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
wsi_superpixel_guided_labeling Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change 1- from girder import plugin
1+ from pathlib import Path
22
3+ from girder import plugin
34
4- class GirderPlugin (plugin .GirderPlugin ):
5+ class WSISuperpixelGuidedLabelingPlugin (plugin .GirderPlugin ):
56 DISPLAY_NAME = 'WSI Superpixel Guided Labeling'
6- CLIENT_SOURCE_PATH = 'web_client'
77
88 def load (self , info ):
9- # add plugin loading logic here
109 plugin .getPlugin ('histomicsui' ).load (info )
10+ # add plugin loading logic here
11+ plugin .registerPluginStaticContent (
12+ plugin = 'wsi_superpixel_guided_labeling' ,
13+ css = ['/style.css' ],
14+ js = ['/girder-plugin-wsi-superpixel-guided-labeling.umd.js' ],
15+ staticDir = Path (__file__ ).parent / 'web_client' / 'dist' ,
16+ tree = info ['serverRoot' ],
17+ )
You can’t perform that action at this time.
0 commit comments