Skip to content

v0.3.0

Choose a tag to compare

@fubin1999 fubin1999 released this 23 Jul 00:30
· 178 commits to main since this release
fcdf757

New features

  • Add auto_parse() to automatically detect and parse different glycan structure string formats.

Minor improvements and fixes

  • Better error messages.
    Before:
    > parse_iupac_condensed("bad_glycan")
    Error in `purrr::map()` at glyparse/R/struc-parser-wrapper.R:13:3:
    ℹ In index: 1.
    Caused by error in `value[[3L]]()`:
    ! Could not parse IUPAC-condensed string: {.val {x}}
    ℹ Invalid characters or format in IUPAC-condensed string
    Run `rlang::last_trace()` to see where the error occurred.
    
    Now:
    > parse_iupac_condensed("bad_glycan")
    Error in `parse_iupac_condensed()`:
    ! Can't parse: "bad_glycan"
    Run `rlang::last_trace()` to see where the error occurred.