Skip to content

Commit

Permalink
Fixed string escape bug
Browse files Browse the repository at this point in the history
  • Loading branch information
scottransom committed Jun 22, 2024
1 parent ceeef62 commit 0b7b52a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/DDplan.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def dm_steps(loDM, hiDM, obs, cohdm=0.0, numsub=0, numprocs=1,
ppgplot.pgsch(1.1)
ppgplot.pgsci(1)
if (numsub):
ppgplot.pgmtxt("t", 1.5, 0.6/10.0, 0.5, r"\(2156)\dctr\\u = %g MHz" % obs.f_ctr)
ppgplot.pgmtxt("t", 1.5, 0.6/10.0, 0.5, "\\(2156)\\dctr\\u = %g MHz" % obs.f_ctr)
if (dtms < 0.1):
ppgplot.pgmtxt("t", 1.5, 2.8/10.0, 0.5, "dt = %g \\gms" % (dtms*1000))
else:
Expand Down

0 comments on commit 0b7b52a

Please sign in to comment.