Skip to content

Commit

Permalink
deprecate publishWithGroupName (#5173)
Browse files Browse the repository at this point in the history
* deprecate publishWithGroupName as per dmwm/CRABServer#7359

* pylint

* pylint
  • Loading branch information
belforte authored Oct 3, 2022
1 parent 598bf54 commit 7248a05
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/python/CRABClient/ClientMapping.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python
# following line allows to use nice align with extra spacees, which here is very helpful
#pylint: disable=C0326
# following line allows to use nice align with extra spaces, which here is very helpful
# pylint: disable=bad-whitespace
"""
_ClientMapping_
Expand Down Expand Up @@ -37,7 +37,6 @@
'publishdbsurl' : {'default': 'phys03', 'config': ['Data.publishDBS'], 'type': 'StringType', 'required': False},
#the 2 here to the publishname was added because of https://github.com/dmwm/CRABServer/issues/4947
'publishname2' : {'default': '', 'config': ['Data.outputDatasetTag'], 'type': 'StringType', 'required': False},
'publishgroupname' : {'default': False, 'config': ['Data.publishWithGroupName'], 'type': 'BooleanType', 'required': False},
'jobtype' : {'default': 'Analysis', 'config': ['JobType.pluginName',
'JobType.externalPluginFile'], 'type': 'StringType', 'required': False},
'generator' : {'default': 'pythia', 'config': ['JobType.generator'], 'type': 'StringType', 'required': False},
Expand Down
2 changes: 1 addition & 1 deletion src/python/CRABClient/Commands/submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __call__(self):
#if isinstance(self.requestname, mustbetype):
self.configreq['workflow'] = self.requestname
## Translate boolean flags into integers.
elif param in ['savelogsflag', 'publication', 'publishgroupname', 'nonprodsw', 'useparent',\
elif param in ['savelogsflag', 'publication', 'nonprodsw', 'useparent',\
'ignorelocality', 'saveoutput', 'oneEventMode', 'nonvaliddata', 'ignoreglobalblacklist',\
'partialdataset']:
self.configreq[param] = 1 if temp else 0
Expand Down

0 comments on commit 7248a05

Please sign in to comment.