Skip to content

Commit d18d173

Browse files
committed
WIP: testing if with ply binary ci error persists
1 parent d7362ec commit d18d173

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

tests/integration_tests/pybinds_tests/test_pybind_units.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
print(file)
2020
sys.exit(1)
2121

22-
# getting the test data paths
23-
def debug_directory_contents(path):
24-
print(f"Checking contents of directory: {path}")
25-
if os.path.exists(path):
26-
for file in os.listdir(path):
27-
print(file)
28-
else:
29-
print(f"Directory does not exist: {path}")
22+
# # getting the test data paths
23+
# def debug_directory_contents(path):
24+
# print(f"Checking contents of directory: {path}")
25+
# if os.path.exists(path):
26+
# for file in os.listdir(path):
27+
# print(file)
28+
# else:
29+
# print(f"Directory does not exist: {path}")
3030

3131
def get_ply_cloud_roof_quarter_path():
3232
base_test_data_dir = os.getenv('DF_TEST_DATA_DIR', os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..', 'test_data')))
@@ -35,9 +35,9 @@ def get_ply_cloud_roof_quarter_path():
3535
raise FileNotFoundError(f"PLY file not found at: {ply_file_path}")
3636
print(f"base_test_data_dir: {base_test_data_dir}") # Debug
3737
print(f"ply_file_path: {ply_file_path}") # Debug
38-
debug_directory_contents(base_test_data_dir)
39-
with open(ply_file_path, 'r') as file:
40-
print(file.read()) # Print file contents for debugging
38+
# debug_directory_contents(base_test_data_dir)
39+
# with open(ply_file_path, 'r') as file:
40+
# print(file.read()) # Print file contents for debugging
4141
return ply_file_path
4242

4343
#------------------------------------------------------------------------------
@@ -112,7 +112,7 @@ def test_DFPointCloud_compute_normals(create_DFPointCloudSampleRoof):
112112
def test_DFPointCloud_get_tight_bounding_box(create_DFPointCloudSampleRoof):
113113
pc = create_DFPointCloudSampleRoof
114114
obb = pc.get_tight_bounding_box()
115-
assert obb[0][0] == 0.1955568830111371, "The min x of the OBB should be 0.1955568830111371"
115+
assert obb[0][0] == 0.1955558282162114, "The min x of the OBB should be 0.1955558282162114"
116116

117117
# TODO: to implement DFMesh tests
118118
def test_DFMesh_init():

tests/test_data/roof_quarter.ply

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:17fc180c73f4ba70b0dc5e3ed431d4bc728571932457d4dca7b7897ecd8a06fd
3-
size 493508
2+
oid sha256:40b857e50107b664bdd6860f7c68f44005f9a8d4a40065df24f8cec755a18f3b
3+
size 206944

0 commit comments

Comments
 (0)