Skip to content

Commit

Permalink
Rename ref_cats->refcats; data->repo
Browse files Browse the repository at this point in the history
Fix unit test
  • Loading branch information
djreiss committed Aug 29, 2017
1 parent 4909e33 commit 3bb8f6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions python/lsst/ap/verify/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def refcat_location(self):
-------
a string giving the location of the top-level directory for astrometric and photometric catalogs
"""
return os.path.join(self.dataset_root, 'ref_cats')
return os.path.join(self.dataset_root, 'refcats')

@property
def template_location(self):
Expand All @@ -191,7 +191,7 @@ def _stub_input_repo(self):
-------
a string giving the location of the stub input repo
"""
return os.path.join(self.dataset_root, 'data')
return os.path.join(self.dataset_root, 'repo')

def _validate_package(self):
"""Confirm that the dataset directory satisfies all assumptions.
Expand Down
2 changes: 1 addition & 1 deletion tests/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def test_directories(self):
self.assertEqual(self._testbed.data_location, os.path.join(root, 'raw'))
self.assertEqual(self._testbed.calib_location, os.path.join(root, 'calib'))
self.assertEqual(self._testbed.template_location, os.path.join(root, 'templates'))
self.assertEqual(self._testbed.refcat_location, os.path.join(root, 'ref_cats'))
self.assertEqual(self._testbed.refcat_location, os.path.join(root, 'refcats'))

def test_output(self):
"""Verify that a Dataset can create an output repository as desired.
Expand Down

0 comments on commit 3bb8f6f

Please sign in to comment.