File tree Expand file tree Collapse file tree 4 files changed +9
-6
lines changed
gui/dataset_viewer_toolbar Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ before_install:
44 # Build this docker:
55 # - cd qgis-testing-environment && docker build -t qgis-testing-environment .
66 # or just pull it:
7- - docker pull qgis/qgis:final-3_10_3
7+ - docker pull qgis/qgis:release-3_18
88install :
9- - docker run -d --name deeplearningtools-testing-env -v ${TRAVIS_BUILD_DIR}:/tests_directory -e DISPLAY=:99 qgis/qgis:final-3_10_3
9+ - docker run -d --name deeplearningtools-testing-env -v ${TRAVIS_BUILD_DIR}:/tests_directory -e DISPLAY=:99 qgis/qgis:release-3_18
1010 - sleep 10
1111 # Setup qgis and enable the plugin
1212 - docker exec -it deeplearningtools-testing-env sh -c "qgis_setup.sh DeepLearningTools"
Original file line number Diff line number Diff line change 22 "python.testing.unittestArgs" : [
33 " -v" ,
44 " -s" ,
5- " ./test " ,
5+ " ./tests " ,
66 " -p" ,
77 " test_*.py"
88 ],
Original file line number Diff line number Diff line change 2626__date__ = '2020-03-12'
2727__copyright__ = '(C) 2020 by Philipe Borba'
2828
29+ from .deep_learning_tools import DeepLearningTools
30+ deepLearningTools = None
2931
3032# noinspection PyPep8Naming
3133def classFactory (iface ): # pylint: disable=invalid-name
@@ -35,5 +37,6 @@ def classFactory(iface): # pylint: disable=invalid-name
3537 :type iface: QgsInterface
3638 """
3739 #
38- from .deep_learning_tools import DeepLearningTools
39- return DeepLearningTools (iface )
40+ global deepLearningTools
41+ deepLearningTools = DeepLearningTools (iface )
42+ return deepLearningTools
Original file line number Diff line number Diff line change 3737
3838# from .inspectFeatures_ui import Ui_Form
3939FORM_CLASS , _ = uic .loadUiType (os .path .join (
40- os .path .dirname (__file__ ), 'viewer_toolbar.ui' ))
40+ os .path .dirname (__file__ ), 'viewer_toolbar.ui' ), resource_suffix = '' )
4141
4242class ViewerToolbar (QWidget ,FORM_CLASS ):
4343 def __init__ (self , iface , parent = None ):
You can’t perform that action at this time.
0 commit comments