Skip to content

Commit

Permalink
Rename Operational scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
fso42 committed Oct 11, 2022
1 parent 269c268 commit 24aec0c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions avaframeConnector_algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,14 +351,14 @@ def name(self):
lowercase alphanumeric characters only and no spaces or other
formatting characters.
"""
return 'FullOperationalRun'
return 'fulloperationalrun'

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('Full Operational Run')

def group(self):
"""
Expand All @@ -385,7 +385,7 @@ def shortHelpString(self) -> str:
For more information go to: \n\
AvaFrame Documentation: https://docs.avaframe.org\n\
Homepage: https://avaframe.org\n\
Praxisleitfaden: https://info.bml.gv.at/dam/jcr:edebd872-2a86-4edf-ac5e-635ef11e35fe/Praxisleitfaden%20LawSim%20WLV%202022%20Gr%C3%BCn.pdf\n'
Praxisleitfaden: https://avaframe.org/reports\n'

return self.tr(hstring)

Expand Down
6 changes: 3 additions & 3 deletions avaframeRunCom1DFA_algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,14 +271,14 @@ def name(self):
lowercase alphanumeric characters only and no spaces or other
formatting characters.
"""
return 'RunCom1DFA'
return 'denseflowstandard'

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('Dense Flow Standard (com1DFA)')

def group(self):
"""
Expand All @@ -301,7 +301,7 @@ def tr(self, string):
return QCoreApplication.translate('Processing', string)

def shortHelpString(self) -> str:
hstring = 'Runs dense flow simulations via com1DFA. \n\
hstring = 'Runs dense flow simulations via module com1DFA. \n\
For more information go to (or use the help button below): \n\
AvaFrame Documentation: https://docs.avaframe.org\n\
Homepage: https://avaframe.org\n\
Expand Down

0 comments on commit 24aec0c

Please sign in to comment.