Skip to content

Commit

Permalink
modify fatools.redo_fba_fromorig() to default to fiberassign 5.0.0 fo…
Browse files Browse the repository at this point in the history
…r faversion>=5.0.0
  • Loading branch information
LNapolitano committed May 8, 2024
1 parent 3d52577 commit b41be19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py/LSS/SV3/fatools.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,8 +429,8 @@ def get_fba_fromnewmtl(tileid,mtldir=None,getosubp=False,outdir=None,faver=None,
fo.write("module swap fiberassign/2.3.0\n") #inspection of results revealed tiles that used 2.2.dev* after 20210413 are reproduced using 2.3.0 and those before using 2.2.0
else:
fo.write("module swap fiberassign/"+fht['FA_VER'][:3]+'.0'+"\n")
else:
fo.write("module swap fiberassign/"+fht['FA_VER']+"\n")
elif faver >= 5.0:
fo.write("module swap fiberassign/5.0.0\n")
else:
fo.write("module swap fiberassign/"+str(faver)+"\n")
faver = float(faver[:3])
Expand Down

0 comments on commit b41be19

Please sign in to comment.