Skip to content

Commit 48f08de

Browse files
sfayerweb-flow
authored andcommitted
sweep: #6515 Ensure CPUNormalization is float
1 parent 92c3716 commit 48f08de

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)