Spaces:
Sleeping
Sleeping
Update deploying_3_3.py
Browse files- deploying_3_3.py +2 -2
deploying_3_3.py
CHANGED
|
@@ -494,8 +494,8 @@ def Create_DF(dxfpath,datadoc):
|
|
| 494 |
if any(combined_condition):
|
| 495 |
index = np.where(combined_condition)[0][0]
|
| 496 |
SimilarAreaDictionary.at[index, 'Occurences'] += 1
|
| 497 |
-
SimilarAreaDictionary.at[index, 'Total Area'] = SimilarAreaDictionary.at[index, 'Area']
|
| 498 |
-
SimilarAreaDictionary.at[index, 'Total Perimeter'] = SimilarAreaDictionary.at[index, 'Perimeter']
|
| 499 |
else:
|
| 500 |
TotalArea=area
|
| 501 |
TotalPerimeter=perimeter
|
|
|
|
| 494 |
if any(combined_condition):
|
| 495 |
index = np.where(combined_condition)[0][0]
|
| 496 |
SimilarAreaDictionary.at[index, 'Occurences'] += 1
|
| 497 |
+
SimilarAreaDictionary.at[index, 'Total Area'] = SimilarAreaDictionary.at[index, 'Total Area'] + area
|
| 498 |
+
SimilarAreaDictionary.at[index, 'Total Perimeter'] = SimilarAreaDictionary.at[index, 'Total Perimeter'] + perimeter
|
| 499 |
else:
|
| 500 |
TotalArea=area
|
| 501 |
TotalPerimeter=perimeter
|