Skip to content

Releases: dandi/dandi-cli

0.14.1

16 Apr 20:12
Compare
Choose a tag to compare

🐛 Bug Fix

Authors: 2

0.14.0

15 Apr 20:51
Compare
Choose a tag to compare

🚀 Enhancement

  • Models: define id, add various additional types (genotype, etc), boost model version to 0.3.0 #560 (@satra)
  • Switch default dandi instance to dandi-api based on redirector #565 (@jwodder)

🧪 Tests

  • Add further tests of get_instance() and server-info #571 (@jwodder)

Authors: 2

0.13.2

13 Apr 23:52
Compare
Choose a tag to compare

🐛 Bug Fix

  • BF: do not assume that service record of redirector is present/has url #567 (@yarikoptic)
  • Fix a typo in the display string for one of the known URL patterns #564 (@jwodder)
  • Error with a decent message when trying to delete() a path not in a Dandiset #563 (@jwodder)
  • Fix & test for downloading by asset ID URL #561 (@jwodder)
  • Strip trailing slash from API URL used by delete() #559 (@jwodder)
  • Refresh dandiset.yaml on download if out of date #556 (@jwodder)
  • Support "…/assets/?path=" URLs #555 (@jwodder)
  • Get hdmf, pynwb, h5py versions without importing #553 (@jwodder)

Authors: 2

0.13.1

10 Apr 23:51
Compare
Choose a tag to compare

🐛 Bug Fix

📝 Documentation

  • DOC: minor tune up to README.md on installation instructions and WiP #551 (@yarikoptic)

Authors: 3

0.13.0

08 Apr 16:15
Compare
Choose a tag to compare

🚀 Enhancement

🐛 Bug Fix

⚠️ Pushed to master

  • DOC: provide instructions in DEVELOPMENT.md for interaction with dandi-api instance (@yarikoptic)

🏠 Internal

🧪 Tests

  • Add tests of json_dict() method #526 (@jwodder)
  • Store metadata test JSON in files #525 (@jwodder)
  • Run "provision" container in the foreground #506 (@jwodder)
  • Ignore warnings from ruamel.yaml caused by hdmf using deprecated functions #507 (@jwodder)

Authors: 5

0.12.1

25 Mar 14:39
Compare
Choose a tag to compare

🐛 Bug Fix

  • Lowercase "sha256" #493 (@jwodder)
  • Validate uploads before digesting #495 (@jwodder)
  • Check for already-uploaded blobs via /uploads/initialize/ instead of /blobs/digest/ #496 (@jwodder)
  • Update upload code for changes in API #479 (@jwodder)
  • dandi ls: Error if --schema is given with remote resource of different version #489 (@jwodder)

🧪 Tests

  • Add option for only running new Dandi API tests #500 (@jwodder)
  • Don't hardcode DANDI_SCHEMA_VERSION value in tests #491 (@jwodder)

Authors: 1

0.12.0

23 Mar 19:00
Compare
Choose a tag to compare

🚀 Enhancement

🐛 Bug Fix

🏠 Internal

Authors: 2

0.11.0

08 Mar 19:27
Compare
Choose a tag to compare

🚀 Enhancement

🐛 Bug Fix

  • Add dateModified to asset metadata #452 (@jwodder)
  • fix: change enum to const for single enums #449 (@satra)
  • Add --new-schema option to ls command for converting output #445 (@jwodder)
  • Eliminate check for session_start_time preceding date_of_birth #440 (@jwodder)
  • Eliminate DANDI_SCHEMA; add get_schema_version() #442 (@jwodder)
  • Discard empty "sex" and "species" fields on conversion #438 (@jwodder)
  • schema: minor spotted typo fixes #435 (@yarikoptic)
  • Retry requests on ConnectionErrors #437 (@jwodder)
  • Include HDMF version as well into the token #434 (@yarikoptic)
  • Error if sha256 digest is missing from asset being downloaded #428 (@jwodder)
  • Report dandi version in User-Agent header #424 (@jwodder)
  • Remove misleading log message about authenticating with new API #425 (@jwodder)
  • Distinguish between pre- and post-validation when uploading #420 (@jwodder)
  • Log failed HTTP connections; include PID and TID in logs; include asset path in upload log messages #418 (@jwodder)
  • Revert PR #409 (Content-MD5 header) #419 (@jwodder)
  • Set Content-MD5 header when uploading asset parts #409 (@jwodder)
  • upload(): Only yield first "validating" status to pyout #417 (@jwodder)
  • Add more logging when uploading & downloading #412 (@jwodder)
  • Sleep increasing amounts while waiting for uploaded assets to validate #408 (@jwodder)
  • Populate wasDerivedFrom #386 (@jwodder)
  • FIX: use authorized checkout for actions #403 (@satra)
  • enh: account for samples, sessions and participants #392 (@satra @jwodder @yarikoptic)
  • Disabling logging to stderr while using pyout #401 (@jwodder)
  • Cache file digests and check for change in digest when uploading #391 (@jwodder)
  • Make existing="refresh" a synonym for "overwrite" for new upload #390 (@jwodder)
  • RF/NF: Identifiable and BareAssetMeta to describe an asset anywhere #373 (@yarikoptic @jwodder)
  • Give known_urls human-readable display strings #384 (@jwodder)
  • Make dandi download -i <instance> run in a Dandiset download that Dandiset #383 (@jwodder)
  • Give validate command a --schema VERSION option for validating assets and dandiset.yaml #379 (@jwodder)
  • Support downloading folders and latest Dandiset version #377 (@jwodder @yarikoptic)
  • Add include_metadata=False parameter to asset-listing DandiAPIClient methods #378 (@jwodder @yarikoptic)
  • Discard invalid asset identifiers when extracting metadata #374 (@jwodder)
  • Handle uploading already-present files in new API #347 (@jwodder)
  • Adjust license metadata conversion #364 (@jwodder @yarikoptic)
  • Give AssetMeta and DandiMeta json_dict() methods for better dictification #346 (@jwodder)
  • BF: allow to handle an item with multiple files #342 (@yarikoptic)
  • ENH: devel upload dandiset metadata #341 (@yarikoptic)
  • Try self.listFile() again on ConnectionErrors #335 (@jwodder)
  • Add functions for validating metadata against JSON Schema and use in tests #338 (@jwodder)
  • Fix AttributeError: 'Resource' object has no attribute 'values' #336 (@jwodder)
  • [DATALAD RUNCMD] Swap order of str and AnyUrl to be from specific to generic #334 (@yarikoptic)
  • cleaning up biosample and participant #312 (@satra @jwodder)
  • Tee all logs to user log directory #318 (@jwodder)
  • Update for new AP...
Read more

0.10.0

08 Dec 22:37
Compare
Choose a tag to compare

🚀 Enhancement

🐛 Bug Fix

  • Autogenerate schema element titles #304 (@jwodder)
  • Compare uploaded file size against what download headers report #306 (@jwodder)
  • fix: rat to common lab rat #307 (@satra)

Authors: 3

0.9.0

04 Dec 15:26
Compare
Choose a tag to compare

🚀 Enhancement

🐛 Bug Fix

🏠 Internal

Authors: 6