Skip to content

Commit 601af0e

Browse files
committed
[BUGFIX][Processing] RScript: Add name token
1 parent 87beec0 commit 601af0e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

python/plugins/processing/algs/r/RAlgorithm.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,10 @@ def processParameterLine(self, line):
151151
tokens = line.split('=')
152152
desc = self.createDescriptiveName(tokens[0])
153153
if tokens[1].lower().strip() == 'group':
154-
self.group = tokens[0]
154+
self.group = self.i18n_group = tokens[0]
155+
return
156+
if tokens[1].lower().strip() == 'name':
157+
self.name = self.i18n_name = tokens[0]
155158
return
156159

157160
if tokens[1].lower().strip().startswith('output'):

0 commit comments

Comments
 (0)