Skip to content

Releases: sandialabs/pyscan

v0.6.0

09 Jul 16:36
Compare
Choose a tag to compare

Bug Fixes

  • core: fixed json decoder to now be standard decoder that converts dictionaries into ItemAttributes while still being generalizable. (09210a9)
  • core: fixed JSON encoder to fully remove recursive_to_dict and be entirely independent. Seems to be working and passing all test cases; however, a saved expt file should be evaluated to confirm this is working before pulling these changes. (2d94b8e)

Features

  • general): measured function now fully saved as runinfo metadata. chore(general: fixed json encoder again, this time it is using native functions more and only accounting for unsupported data types. (2547d43)

v0.5.4

09 Jul 15:07
Compare
Choose a tag to compare

Bug Fixes

  • core: added a json converter class in json_encoder.py to pyscan/general. This is now implemented in the save_metadata method of abstract_experiment.py which enables numpy values to be used as data inputs before saving. The converter changes the numpy values to standard python values and no longer throws the same type error as before. (c2c2b8f)
  • core: added working json converter for runinfo and devices metadata now implemented in abstract experiment's save_metadata method. (11f43a3)
  • core: corrected the issue plesiopterys identified with saving numpy data types and consolidated the json converter added in the last commit to the pre existing recursive_to_dict function which can now handle numpy data types for saving. (fb66ad8)
  • core: fixed issue causing multiple experiments run with the same runinfo to fail. These sequential experiments would improperly double runinfo.measured by appending the same values to it more than once. Then when data was tried to be preallocated in abstract expt it would fail. (cb093a2)
  • core: Fixed the issue with saving if experiments are run 'too fast'. Will now handle ultra fast experiments (up to a micro second or more) which was tested with demo nb 1 using a dt of 0.000000001 and consecutive experiments. (bba1bca)
  • core: updated experiment.py to reinitialize runinfo.measured as an empty list before populating at the beginning of every experiment run. This was causing issues with running subsequent experiments with the same runinfo, and is necessary to prevent runinfo.measured from being reused if runinfo.measure_function changed between runs. (bbc1be8)

Reverts

  • Revert "fix(core): added a json converter class in json_encoder.py to pyscan/general. This is now implemented in the save_metadata method of abstract_experiment.py which enables numpy values to be used as data inputs before saving. The converter changes the numpy values to standard python values and no longer throws the same type error as before." (30dbdd5)
  • Revert "fix(core): corrected the issue plesiopterys identified with saving numpy data types and consolidated the json converter added in the last commit to the pre existing recursive_to_dict function which can now handle numpy data types for saving." (30c601d)
  • Revert "chore(core): removed old import from abstract_experiment." (9d7a10b)
  • Revert "chore(core): fix: fixed misuse of np.array n recursive_to_dict that was causing a type error." (a56704d)
  • Revert "fix(core): added working json converter for runinfo and devices metadata now implemented in abstract experiment's save_metadata method." (0d122b0)
  • Revert "docs(general): added doc string to json_encoder.py CustomJSONEncoder class." (1224b06)
  • Revert "chore(core): removed no longer used recursive_to_dict import from abstract expt." (7d5b6e9)
  • Revert "refactor(general): replaced recursive_to_item_attribute with json decoder item_attribute_object_hook." (6dcfdc1)
  • Revert "chore(general): updated the general init.py to account for the file changes from previous commits and import successfully with a new order since itemattribute is used in other pyscan/general modules now." (27ae91c)
  • Revert "chore(general): fixed improper spelling in the json_decoder." (205c33a)
  • Revert "chore(general): fixed improper spelling in the json_decoder." (6e5b788)
  • Revert "chore(general): fixed error breaking pytests with decoder referencing np.float_ which was removed in numpy 2.0." (0886669)
  • Revert "chore(general): fixed error breaking pytests with decoder referencing np.float_ which was removed in numpy 2.0." (a32e84d)

v0.5.3

18 Jun 15:55
Compare
Choose a tag to compare

Bug Fixes

  • core: added a json converter class in json_encoder.py to pyscan/general. This is now implemented in the save_metadata method of abstract_experiment.py which enables numpy values to be used as data inputs before saving. The converter changes the numpy values to standard python values and no longer throws the same type error as before. (09ebcde)
  • core: added working json converter for runinfo and devices metadata now implemented in abstract experiment's save_metadata method. (c7e17ce)
  • core: corrected the issue plesiopterys identified with saving numpy data types and consolidated the json converter added in the last commit to the pre existing recursive_to_dict function which can now handle numpy data types for saving. (18c4baf)

v0.5.2

11 Jun 22:46
Compare
Choose a tag to compare

Bug Fixes

  • driver: removed smoothing from keithley2260b, added del (30feab6)

v0.5.1

11 Jun 19:17
Compare
Choose a tag to compare

Bug Fixes

  • build: replaced ipykernel with jupyter in setup.py so that all packages required to run jupyter notebooks are automatically installed when pyscan is. (aa06263)

v0.5.0

06 Jun 15:35
Compare
Choose a tag to compare

Bug Fixes

  • fixed issues with keithley2260b and Stanford830 preventing them from passing test cases. (fadae52)

Features

  • completed solution for tracking driver versions and last date tested. (45e0589)
  • SR830 nearly complete with properties and methods [email protected]

v0.4.0

30 May 19:59
Compare
Choose a tag to compare

Features

  • Auto versioning, change log, and release (a2cea93)

v0.2.0

17 May 00:07
Compare
Choose a tag to compare

Bug Fixes

  • added line at end of drivers/testing/init file to satisfy flake8 req (57821cb)
  • added uses: actions/checkout@v3 to try and fix issue. (bca0865)
  • Added wiki link to contributors in README and docs index (5a17be4)
  • Added wiki link to contributors in README and docs index (Jasmine's commit pre revert) (76faaca)
  • corrected comment with version_when_pushed.yml (09e4ac5)
  • corrected error in versioning workflow. (f4d4a8a)
  • corrected errors causing driver's test notebooks to fail. (e5c620b)
  • deleted new_release.yml since it is not running on push. Will replace with two separate workflows. (04ac6e2)
  • Fixed formatting in README and docs index (1f080fe)
  • Fixed formatting in README and docs index (Jasmine's commit pre-revert) (baa32a6)
  • fixed type so that all ymls are not running on push. (15a1e1f)
  • fixed type so that all ymls are not running on push. (2c0322d)
  • fixing missing permissions in python-app.yml (13d8a6c)
  • fixing new_release.yml workflow to have proper permissions for auto versioning. (d434314)
  • giving permissions to python-app.yml for autoversioning. (4654a91)
  • now allocating the right branch to push the version and changelog changes with. (1a0c53e)
  • python-app.yml updates to try and capture versioning automatically. (f213e64)
  • Removed gain from stanford830. (41b1717)
  • Renamed workflow to temp versioning for testing. (2ef638a)
  • restoring init.py to drivers/testing/ folder which may be helpful for building docs and or installing pyscan. (b94895e)
  • runinfo now implements version correctly without setter only getter. (65e83ce)
  • trying to correct python-app.yml missing token error. (d0b25c2)
  • updated manual_versioning.yml to enable workflow run on main. (08b7401)
  • updated new_release.yml syntax to try and fix not running on push to main. (71b3bba)
  • updated new_release.yml to only auto version on pull request approval to main or dev. (358f65e)
  • updated new_release.yml to only auto version on pull request approval to main or dev. (5ab2722)
  • updated python-app.yml to only perform versioning and update changelog after the build passes all tests. (c4d2ed1)
  • updated python-app.yml to only perform versioning and update changelog after the build passes all tests. (1a47452)
  • updated release.yml to address potential bugs and problems in advance. (0c8bef7)
  • updated setup.py to fix build issue. (4f6fd99)
  • updated workflow permissions for versioning files. (4b9da2e)
  • updated workflows to now only auto-version on merge from pull request or push to main and not dev. (90f50d2)
  • updating version.yml to pull from main first each time. (4620432)
  • updating, trying new things. (4359dec)

Features

  • added 2 workflows, one to auto version on merge from pull request, and one to auto version on push to main. (a679f12)
  • added and updated workflows for more refined control in addition to auto versioning. (2928899)
  • added and updated workflows for more refined control in addition to auto versioning. (7cc1541)
  • added basic_build.yml to ensure install success on every build. (a2555b6)
  • added get_version function to pyscan/general, implemented it in runfinfo, and also created a basic test file to ensure it works as expected. (0e9fd49)
  • added new workflow for testing versioning temporarily. (2fdd155)
  • added workflow dispatch for ultimate versioning solution to temporarily test. (842fecd)
  • Update VERSION.json (91677f8)

v0.1.0

18 Apr 00:08
Compare
Choose a tag to compare

Bug Fixes

  • fixing missing permissions in python-app.yml (ff4018b)
  • giving permissions to python-app.yml for autoversioning. (4984c3e)
  • python-app.yml updates to try and capture versioning automatically. (b4ad18b)
  • trying to correct python-app.yml missing token error. (73350bd)

Features

  • added basic_build.yml to ensure install success on every build. (3e791fb)

v0.0.1

28 Nov 23:42
Compare
Choose a tag to compare
cleaned up demo notebooks