Skip to content

Commit 2d9a512

Browse files
authored
Merge pull request #6525 from DIRACGridBot/cherry-pick-2-54432b1ce-integration
[sweep:integration] Ensure CPUNormalization is float
2 parents b6fc97f + 48f08de commit 2d9a512

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DIRAC/WorkloadManagementSystem/JobWrapper/JobWrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def initialize(self, arguments):
204204
self.jobClass = self.jobArgs.get("JobSplitType", self.jobClass)
205205

206206
if not self.cpuNormalizationFactor:
207-
self.cpuNormalizationFactor = self.ceArgs.get("CPUNormalizationFactor", self.cpuNormalizationFactor)
207+
self.cpuNormalizationFactor = float(self.ceArgs.get("CPUNormalizationFactor", self.cpuNormalizationFactor))
208208
self.siteName = self.ceArgs.get("Site", self.siteName)
209209

210210
# Prepare the working directory, cd to there, and copying eventual extra arguments in it

0 commit comments

Comments
 (0)