Skip to content

Commit

Permalink
fixed string to get rid of warning
Browse files Browse the repository at this point in the history
  • Loading branch information
simontorres committed Jul 26, 2024
1 parent aff8aff commit 367d154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion goodman_pipeline/core/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -3267,7 +3267,7 @@ def trace_targets(ccd, target_list, sampling_step=5, pol_deg=2, nfwhm=5,
return all_traces


def validate_ccd_region(ccd_region, regexp='^\[\d*:\d*,\d*:\d*\]$'):
def validate_ccd_region(ccd_region, regexp=r'^\[\d*:\d*,\d*:\d*\]$'):
compiled_reg_exp = re.compile(regexp)
if not compiled_reg_exp.match(ccd_region):
raise SyntaxError("ccd regions must be defined in the format "
Expand Down

0 comments on commit 367d154

Please sign in to comment.