Skip to content

BUG: Scientific notation search terms #263

@tangkong

Description

@tangkong

One edge case I didn't consider is scientific notation. client.search_regex won't consider something 100 == 1e2, so we basically pray that the str(float(str)) conversion produces something that matches the database.

At this point, we're patching over an interface that really doesn't seem to handle numerics correctly. This is probably worth a deeper look, perhaps at other search methods on the backends.

Originally posted by @tangkong in #261 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLICommand-line interface

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions