dongchangxi 6 days ago
parent
commit
36bf02b1da
  1. 2
      factory_sliceing/download_batch_data/main_download_batch_data_and_trans.py

2
factory_sliceing/download_batch_data/main_download_batch_data_and_trans.py

@ -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

Loading…
Cancel
Save