Skip to content

Commit

Permalink
stop saving output test data to dir_input
Browse files Browse the repository at this point in the history
  • Loading branch information
bbean23 committed Apr 6, 2024
1 parent 4b616de commit 781b4b8
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ def setUpClass(cls, dir_input: str = None, dir_output: str = None):
base_dir = dirname(__file__)
dir_input = join(base_dir, 'data', 'data_measurement')
dir_output = join(base_dir, 'data', 'data_expected')
ft.create_directories_if_necessary(dir_input)
ft.create_directories_if_necessary(dir_output)

# Load components
camera = Camera.load_from_hdf(join(dir_input, 'camera.h5'))
Expand Down Expand Up @@ -88,8 +90,7 @@ def test_calibrated_corner_locations(self):

def test_save_csv(self):
"""Saves CSV file of points to data location"""
base_dir = dirname(__file__)
file = join(base_dir, 'data/data_expected/point_locations.csv')
file = join(self.dir_output, 'data/data_expected/point_locations.csv')
self.scene_recon.save_data_as_csv(file)


Expand Down

0 comments on commit 781b4b8

Please sign in to comment.