Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -352,8 +352,6 @@ def measureproject(result,dataDoc=0,img=0,dxffile=0):
|
|
| 352 |
print(temp_filename)
|
| 353 |
|
| 354 |
SearchArray=result[6]
|
| 355 |
-
print(result)
|
| 356 |
-
print("SearchArray = ",SearchArray)
|
| 357 |
global hatched_areas2_7
|
| 358 |
doc,outputimg, SimilarAreaDictionary ,spreadsheetId, spreadsheet_url , namepathArr , list1,hatched_areas=Code_2_7.mainFunctionDrawImgPdf(dataDoc,temp_filename,result[4],SearchArray, pdfpath,result[0])
|
| 359 |
# global colorsused
|
|
@@ -374,7 +372,8 @@ def measureproject(result,dataDoc=0,img=0,dxffile=0):
|
|
| 374 |
dpxlinks=[]
|
| 375 |
legendLinks=[]
|
| 376 |
listofmarkups=[]
|
| 377 |
-
|
|
|
|
| 378 |
pdfpathDoors,_=tsadropboxretrieval.getPathtoPDF_File(nameofPDF= str(result[6]))
|
| 379 |
dbxTeam= tsadropboxretrieval.ADR_Access_DropboxTeam('user')
|
| 380 |
md, resDoors =dbxTeam.files_download(path=pdfpathDoors)
|
|
|
|
| 352 |
print(temp_filename)
|
| 353 |
|
| 354 |
SearchArray=result[6]
|
|
|
|
|
|
|
| 355 |
global hatched_areas2_7
|
| 356 |
doc,outputimg, SimilarAreaDictionary ,spreadsheetId, spreadsheet_url , namepathArr , list1,hatched_areas=Code_2_7.mainFunctionDrawImgPdf(dataDoc,temp_filename,result[4],SearchArray, pdfpath,result[0])
|
| 357 |
# global colorsused
|
|
|
|
| 372 |
dpxlinks=[]
|
| 373 |
legendLinks=[]
|
| 374 |
listofmarkups=[]
|
| 375 |
+
SearchArray=result[7]
|
| 376 |
+
print("SearchArray = ",SearchArray)
|
| 377 |
pdfpathDoors,_=tsadropboxretrieval.getPathtoPDF_File(nameofPDF= str(result[6]))
|
| 378 |
dbxTeam= tsadropboxretrieval.ADR_Access_DropboxTeam('user')
|
| 379 |
md, resDoors =dbxTeam.files_download(path=pdfpathDoors)
|