Commit ab0251f1 authored by mancini's avatar mancini

Add r to regex

parent b57bfcab
......@@ -59,7 +59,7 @@ def _save_result_set_to_file(result_set, path):
def _parse_cone_search_ra_dec_radius(cone_search_string):
cone_search_pattern = '^\s*\((.*),\s*(.*),\s*(.*)\)\s*$'
cone_search_pattern = r'^\s*\((.*),\s*(.*),\s*(.*)\)\s*$'
try:
groups = re.search(cone_search_pattern, cone_search_string).groups()
ra, dec, radius = map(float, groups)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment