|
|
|
@ -27,7 +27,7 @@ def step1(versionId): |
|
|
|
if str(machineInfo["machine_type"]) == '1': |
|
|
|
if str(machineInfo["machine_type"]) == '1': |
|
|
|
isSmallMachine = True |
|
|
|
isSmallMachine = True |
|
|
|
if isAlreadyExist: |
|
|
|
if isAlreadyExist: |
|
|
|
objFilePath = os.path.join(dirName, 'json') |
|
|
|
objFilePath = os.path.join(dirName, 'data') |
|
|
|
keyValue = f'{versionId}_small_No{machineInfo["id"]}' |
|
|
|
keyValue = f'{versionId}_small_No{machineInfo["id"]}' |
|
|
|
BeginSliceing(versionId,machineInfo["id"],objFilePath,keyValue) |
|
|
|
BeginSliceing(versionId,machineInfo["id"],objFilePath,keyValue) |
|
|
|
return True |
|
|
|
return True |
|
|
|
|