From 080f2b977b7a4c30cba03788e65d69582494bd6f Mon Sep 17 00:00:00 2001 From: mesmith75 Date: Mon, 20 May 2024 10:51:48 +0000 Subject: [PATCH] autopep8 action fixes --- ganga/GangaLHCb/Lib/LHCbDataset/BKQuery.py | 16 ++++++++-------- ganga/GangaLHCb/Lib/Server/DiracLHCbCommands.py | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ganga/GangaLHCb/Lib/LHCbDataset/BKQuery.py b/ganga/GangaLHCb/Lib/LHCbDataset/BKQuery.py index 13f4786438..f26eb42b96 100644 --- a/ganga/GangaLHCb/Lib/LHCbDataset/BKQuery.py +++ b/ganga/GangaLHCb/Lib/LHCbDataset/BKQuery.py @@ -1,4 +1,4 @@ -#\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\# +# \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\# import os import datetime from GangaCore.Core.exceptions import GangaException @@ -14,7 +14,7 @@ from GangaLHCb.Lib.LHCbDataset import LHCbDataset, LHCbCompressedDataset from GangaLHCb.Lib.Backends.Dirac import filterLFNsBySE logger = getLogger() -#\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\# +# \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\# class BKQuery(GangaObject): @@ -124,13 +124,13 @@ def getDatasetMetadata(self): if self.selection: msg = 'selection not supported for type="%s".' % self.type raise GangaException(msg) - cmd = "getDataset('%s','%s','%s','%s','%s','%s')" % (self.path, self.dqflag, - self.type, self.startDate, self.endDate, self.selection) + cmd = "getDataset('%s','%s','%s','%s','%s','%s', '%s')" % (self.path, self.dqflag, + self.type, self.startDate, self.endDate, self.selection, self.SMOG2) from GangaCore.GPIDev.Lib.GangaList.GangaList import GangaList knownLists = [tuple, list, GangaList] if isType(self.dqflag, knownLists): - cmd = "getDataset('%s',%s,'%s','%s','%s','%s')" % (self.path, self.dqflag, - self.type, self.startDate, self.endDate, self.selection) + cmd = "getDataset('%s',%s,'%s','%s','%s','%s', '%s')" % (self.path, self.dqflag, + self.type, self.startDate, self.endDate, self.selection, self.SMOG2) try: value = get_result(cmd, 'BK query error.', credential_requirements=self.credential_requirements) @@ -239,7 +239,7 @@ def getDataset(self, compressed=True, SE=None): return addProxy(ds) -#\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\# +# \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\# class BKQueryDict(GangaObject): @@ -329,4 +329,4 @@ def getDataset(self): return addProxy(ds) -#\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\# +# \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\# diff --git a/ganga/GangaLHCb/Lib/Server/DiracLHCbCommands.py b/ganga/GangaLHCb/Lib/Server/DiracLHCbCommands.py index c76e850dfb..549a75f8a2 100644 --- a/ganga/GangaLHCb/Lib/Server/DiracLHCbCommands.py +++ b/ganga/GangaLHCb/Lib/Server/DiracLHCbCommands.py @@ -2,9 +2,9 @@ # DiracLHCb commands # /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ -#def getRootVersions(): output( dirac.getRootVersions() ) +# def getRootVersions(): output( dirac.getRootVersions() ) -#def getSoftwareVersions(): output( dirac.getSoftwareVersions() ) +# def getSoftwareVersions(): output( dirac.getSoftwareVersions() ) @diracCommand