Skip to content

Commit

Permalink
also turn off legendre terms in desi wrapper when not using archetypes
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Bailey authored and Stephen Bailey committed Jan 4, 2024
1 parent 4c3fa88 commit aef2c73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py/redrock/external/desi.py
Original file line number Diff line number Diff line change
Expand Up @@ -851,9 +851,9 @@ def rrdesi(options=None, comm=None):
dwave = targets.wavegrids()

ncamera = len(list(dwave.keys())) # number of cameras for given instrument
if args.archetypes_no_legendre:
if args.archetypes_no_legendre or args.archetypes is None:
if comm_rank == 0:
print('--archetypes-no-legendre argument is provided, will turn off all the Legendre related arguments')
print('no archetypes or --archetypes-no-legendre; will turn off all the Legendre related arguments')
archetype_legendre_prior = None
archetype_legendre_degree =0
archetype_legendre_percamera = False
Expand Down

0 comments on commit aef2c73

Please sign in to comment.