Skip to content

Releases: cryoem-uoft/cryosparc-tools

v4.6.1

13 Nov 15:05
c92a833
Compare
Choose a tag to compare

What's Changed

New

  • Python 3.13 support

Fixed

  • Disallow non-URL-encodable characters when creating external job inputs and outputs
  • Prevent queuing and killing external jobs (must use job.start/job.stop() or with job.run())

Full Changelog: v4.6.0...v4.6.1

v4.6.0

10 Sep 18:11
96aeb7f
Compare
Choose a tag to compare

What's Changed

New

  • Dataset.is_equivalent method to check if two datasets have identical fields, but in a different order
  • Dataset.inspect class method which accepts a path to a dataset and returns its header without loading the entire dataset from disk
  • Load a subset of dataset fields with Dataset.load by specifying prefixes or fields keyword arguments
  • Support for uploading job assets in bild format

Updated

  • ExternalJob.add_output method now expects alloc argument to be specified as a keyword arg
  • Dataset methods which accept a copy argument now expect it to be specified as a keyword arg

Fixed

  • Significantly reduced memory usage when loading large datasets with Dataset.load

Full Changelog: v4.5.1...v4.6.0

v4.5.1

08 Aug 20:46
e942a4f
Compare
Choose a tag to compare

What's Changed

New

  • Numpy 2.0 support

Fixed

  • Add missing result data types added in CryoSPARC v4.5

Full Changelog: v4.5.0...v4.5.1

v4.5.0

07 May 16:03
3864da7
Compare
Choose a tag to compare

What's Changed

New

  • New cluster_vars argument for Job.queue method for queueing to clusters
  • Various print methods for inspecting available job types, inputs, outputs and parameters

Updated

  • Allow copy and symlink operations from outside project directory
  • Allow larger shapes for dataset fields

Fixed

  • Always raise explicit errors when dataset allocation fails
  • Correctly retain fields when appending or creating a union of empty datasets with non-empty fields
  • Correctly allow excluding uid field in Dataset.descr method

Docs

  • New guide for job access and inspection
  • Fix broken code in custom latent trajectory example
  • Generalize 3D Flex custom trajectory example to >2 dimensions

Full Changelog: v4.4.1...v4.5.0

v4.4.1

05 Dec 15:58
b5b3643
Compare
Choose a tag to compare

What's Changed

Fixed

  • Correct command response error data formatting

Full Changelog: v4.4.0...v4.4.1

v4.4.0

08 Nov 15:21
3955233
Compare
Choose a tag to compare

What's Changed

New

  • Python 3.11 and 3.12 support
  • overwrite keyword argument for file upload functions for extra confirmation when uploading project files to a path that already exist (raises error if not specified)
  • Smaller and faster compressed dataset format when saving with CSDAT_FORMAT (datasets saved in this format prior to this release may no longer be readable)

Updated

  • Calls to CryoSPARC’s command servers automatically retry while CryoSPARC is down for up to one minute
  • Raise cryosparc.errors.CommandError instead of AssertionError when a CryoSPARC command server request fails
  • Raise cryosparc.errors.DatasetLoadError to show target file path when Dataset.load encounters an exception
  • Improved server- and slot- related error messages
  • Warn when connecting to CryoSPARC version that doesn’t match cryosparc-tools version

Docs

  • Delete Rejected Exposures example
  • Instructions for plotting scale bars on 2D Classes
  • Revert downsampled, symmetry expanded particles example
  • Connect a volume series to Class3D example

New Contributors

Full Changelog: v4.3.1...v4.4.0

v4.3.1

31 Aug 17:08
5c00a54
Compare
Choose a tag to compare

Fixed

  • Job.queue method lane argument is now optional when queuing directly to master
  • Dataset memory leak due to missing reference count decrease during dataset garbage collection

Docs

  • pip update instructions
  • Recommend Python environment as a prerequisite

Full Changelog: v4.3.0...v4.3.1

v4.3.0

09 Aug 14:40
f856911
Compare
Choose a tag to compare

Added

  • Updated project doc spec with updated generate intermediate results settings field

Fixed

  • Allow project file retrieval from when project directory contains a symbolic link
  • Auto-exclude slots with missing metafile and better error message when output metafile is missing
  • Extend CommandClient.Error from Exception
  • Correctly catch command request timeout

Docs

  • Added T20S workflow example

Full Changelog: v4.2.0...v4.3.0

v4.2.0

27 Feb 16:02
cf03e4d
Compare
Choose a tag to compare

What's Changed

  • Support for CryoSPARC v4.2.0

Full Changelog: v4.1.3...v4.2.0

v4.1.3

01 Feb 20:58
2d81b5e
Compare
Choose a tag to compare

What's Changed

  • Fix error when creating a job with CryoSPARC.create_job by @nfrasser in #17 and #20
  • Fix Dataset allocation error due to slot generation overflow by @nfrasser in #18
  • Docs minor fixes by @wtempel in #13

New Contributors

Full Changelog: v4.1.2...v4.1.3