Skip to content

Commit

Permalink
require and use DESI_SURVEYOPS without hardcoding alternative
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Bailey authored and Stephen Bailey committed Mar 7, 2023
1 parent 5adbdb0 commit 8f3ccd6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions py/desispec/test/test_photo.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,7 @@ def setUp(self):
@unittest.skipUnless(standard_nersc_environment, "not at NERSC")
def test_gather_targetdirs(self):
"""Test that we get the correct targeting directories given a tile."""
if 'DESI_SURVEYOPS' in os.environ:
surveyops_dir = os.environ['DESI_SURVEYOPS']
else:
surveyops_dir = '/global/cfs/cdirs/desi/survey/ops/surveyops/trunk'
surveyops_dir = os.environ['DESI_SURVEYOPS']
truedirs = {
# sv1
'80613': ['/global/cfs/cdirs/desi/target/catalogs/dr9/0.47.0/targets/sv1/resolve/bright/'],
Expand Down

0 comments on commit 8f3ccd6

Please sign in to comment.