Skip to content

Commit

Permalink
add getenv
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Blanton committed Sep 28, 2023
1 parent bdd65ed commit 268b1bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/validate_designs_batches.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def valid_design_func(file, exp, obsTime, field_desmodes,
cache_bs = args.cache_bs
ver_catch = args.ver_catch

MUGATU_DATA = os.popen('echo $MUGATU_DATA').read()[:-1]
MUGATU_DATA = os.getenv('MUGATU_DATA')

if vtype == 'dir':
files = [file for file in glob.glob(directory + '*.fits')]
Expand Down

0 comments on commit 268b1bd

Please sign in to comment.