Releases: sandialabs/pyscan
Releases · sandialabs/pyscan
v0.7.4
v0.7.3
v0.7.2
Bug Fixes
- install: now install without -e will work since version file moved to pyscan folder. Version workflow set to track accordingly. Install and runinfo will now fail if version not detected. (62bd629)
- install: updating complete.yml to run jobs in parallel, and updated setup.py to explicity include pyscan/VERSION.json when using pip install . (84a1982)
- measurement: Update run_info.py (68f0df2)
- workflows: updating complete.yml to ensure the job complete2 does not have race condition, conflict, or other unwanted interaction with the job complete. (acac485)
v0.7.1
v0.7.0
Bug Fixes
- test: fixed test_test_instrument_driver.py to account for read_only and write_only properties added to test_instrument_driver.py. This now solves the issue with auto_test_driver not failing with read and write only properties and ensures they are auto tested for future compatibility. (f4554cd)
Features
- drivers: adding a built in get_resources function that can return a list of available resources along with their names, and capture a target resource for initializing drivers. (02971f6)
v0.6.0
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
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
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)