Skip to content

Commit

Permalink
do not select by zbest when just including columns
Browse files Browse the repository at this point in the history
  • Loading branch information
segasai committed May 24, 2024
1 parent fc57086 commit c993194
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion py/rvspecfit/desi/desi_fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,8 @@ def select_fibers_to_fit(fibermap,
logging.warning(
'zbest selection requested, but the zbest file not found')
else:
selecting_by_zbest = True
if zbest_select:
selecting_by_zbest = True
logging.info('Using zbest file %s', zbest_path)
zb = atpy.Table().read(zbest_path, format='fits', hdu=zbest_ext)
rr_spectype = zb['SPECTYPE']
Expand Down

0 comments on commit c993194

Please sign in to comment.