Skip to content
Snippets Groups Projects
Commit 587ed3ed authored by Branson Craig Stephens's avatar Branson Craig Stephens
Browse files

Allow gpstime range queries on fractional gpstime.

parent 4665585a
No related branches found
No related tags found
No related merge requests found
......@@ -55,7 +55,7 @@ hasfarQ = CaselessLiteral("hasfar")
hasfarQ.setParseAction(lambda toks: ("hasfar", Q(far__isnull=False)))
# GPS Times
gpstime = Word(nums).setName("GPS time")
gpstime = Word(nums+'.').setName("GPS time")
gpstimeRange = (gpstime + Suppress("..") + gpstime).setName("GPS time range")
gpsQ = Optional(Suppress(Keyword("gpstime:"))) + (gpstime^gpstimeRange)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment