Skip to content

tryparse for Measurement type #110

@Mattriks

Description

@Mattriks

According to the latest CSV documentation , non-standard types can be read, if Base.tryparse has been extended. Currently I get an error when trying to read a single column of value±uncertainty with CSV v0.8.5.

As a workaround I rolled my own simplistic Base.tryparse(::Type{Measurement{T}}, str::S) where {T<:AbstractFloat, S<:AbstractString}).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions