Skip to content

laminr v0.2.0

Latest
Compare
Choose a tag to compare
@rcannood rcannood released this 20 Nov 21:41
· 11 commits to main since this release
471e204

This release adds support for creating new artifacts in a LaminDB instance.

NEW FUNCTIONALITY

  • Add support for more loaders (PR #81).
    Currently supported: .csv, .h5ad, .html, .jpg, .json, .parquet, .png, .rds, .svg, .tsv, .yaml.
  • Add a from_df() method to the Registry class to create new artifacts from data frames (PR #78)
  • Create TemporaryRecord classes for new artifacts before they have been saved to the database (PR #78)
  • Add a delete() method to the Record class (PR #78)
  • Add track() and finish() methods to the Instance class (PR #83)
  • Add a from_path() method to the Registry class to create new artifacts from paths (PR #85)
  • Add a from_anndata() method to the Registry class to create new artifacts from AnnData objects (PR #85)
  • Add RStudio add-in for saving a notebook (PR #90).

MAJOR CHANGES

  • Running connect(slug = NULL) now connects to the default instance that is allowed to create records.
    The default instance must be changed using the Lamin CLI. (PR #78)
  • User setting are stored in a global option the first time connect() is run (PR #78)

MINOR CHANGES

  • Adjusted argument order in Instance$track() and improved Python error handling (PR #89)

TESTING

  • Add a test for creating artifacts from data frames (PR #78).
  • Add tests for creating artifacts from paths and AnnData objects (PR #85)

DOCUMENTATION

  • Updated installation instructions after {laminr} was released on CRAN (PR #74).
  • Updated the architecture vignette to include new methods and the new TemporaryRecord class (PR #78, PR #83, PR #85)
  • Updated the development vignette with new functionality (PR #78, PR #83, PR #85)