Skip to content

Commit

Permalink
Fix wrong imports
Browse files Browse the repository at this point in the history
  • Loading branch information
fso42 committed Mar 14, 2023
1 parent 0ed8538 commit 985700f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 15 deletions.
5 changes: 2 additions & 3 deletions avaframeConnector_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def find_python():
from .getVersion_algorithm import getVersionAlgorithm
from .runCom1DFA_algorithm import runCom1DFAAlgorithm
from .runCom5GlideSnow_algorithm import runCom5GlideSnowAlgorithm
# from .runAna4ProbAna_algorithm import runAna4ProbAnaAlgorithm
from .runAna4ProbAna_algorithm import runAna4ProbAnaAlgorithm
from .update_algorithm import updateAlgorithm


Expand Down Expand Up @@ -123,8 +123,7 @@ def loadAlgorithms(self):
self.addAlgorithm(layerRenameAlgorithm())
self.addAlgorithm(runCom1DFAAlgorithm())
self.addAlgorithm(runCom5GlideSnowAlgorithm())
self.addAlgorithm(runAna4ProbAnaAlgorithm())
self.addAlgorithm(AvaFrameGlideSnowConvertAlgorithm())
# self.addAlgorithm(runAna4ProbAnaAlgorithm())
self.addAlgorithm(getVersionAlgorithm())
self.addAlgorithm(updateAlgorithm())

Expand Down
2 changes: 1 addition & 1 deletion layerRename_algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def displayName(self):
Returns the translated algorithm name, which should be used for any
user-visible display of the algorithm name.
"""
return self.tr(self.name())
return self.tr('Layer rename')

def group(self):
"""
Expand Down
4 changes: 2 additions & 2 deletions metadata.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
name=AvaFrameConnector
qgisMinimumVersion=3.18
description=Connects to AvaFrame
version=1.5
version=1.5.1
author=AvaFrame Team
email=felix@avaframe.org

Expand All @@ -24,7 +24,7 @@ repository=https://github.com/avaframe/QGisAF

hasProcessingProvider=yes
# Uncomment the following line and add your changelog:
changelog= 1.5 Parallel execution and glide snow experimental
changelog= 1.5.1 Parallel execution and glide snow experimental
1.3 Add secondary release, rename and update functions,
automatic AvaFrame python package installation
1.1 Follow variable renaming of AvaFrame
Expand Down
1 change: 0 additions & 1 deletion pb_tool.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ python_files: __init__.py avaframeConnector.py avaframeConnector_provider.py
update_algorithm.py
runCom1DFA_algorithm.py
runCom5GlideSnow_algorithm.py
avaframeGlideSnowConvert_algorithm.py
runAna4ProbAna_algorithm.py
avaframeConnector_commonFunc.py

Expand Down
8 changes: 0 additions & 8 deletions runAna4ProbAna_algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,6 @@ def flags(self):
return super().flags()
# return super().flags() | QgsProcessingAlgorithm.FlagNoThreading

def getSHPParts(self, base):
"""Get all files of a shapefile"""

globBase = base.parent
globbed = globBase.glob(base.stem + ".*")

return globbed

def processAlgorithm(self, parameters, context, feedback):
"""
Here is where the processing itself takes place.
Expand Down

0 comments on commit 985700f

Please sign in to comment.