Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added a json converter class in json_encoder.py to pyscan/general. Th… #184

Merged
merged 13 commits into from
Jun 18, 2024

Commits on Jun 11, 2024

  1. 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.
    rsbrost committed Jun 11, 2024
    Configuration menu
    Copy the full SHA
    c2c2b8f View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2024

  1. fix(core): corrected the issue plesiopterys identified with saving nu…

    …mpy 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.
    rsbrost committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    fb66ad8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    88b7252 View commit details
    Browse the repository at this point in the history
  3. chore(core): fix: fixed misuse of np.array n recursive_to_dict that w…

    …as causing a type error.
    rsbrost committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    82b88a9 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2024

  1. fix(core): added working json converter for runinfo and devices metad…

    …ata now implemented in abstract experiment's save_metadata method.
    rsbrost committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    11f43a3 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2024

  1. Configuration menu
    Copy the full SHA
    64f1575 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9f6ae0b View commit details
    Browse the repository at this point in the history
  3. refactor(general): replaced recursive_to_item_attribute with json dec…

    …oder item_attribute_object_hook.
    rsbrost committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    438d801 View commit details
    Browse the repository at this point in the history
  4. chore(general): updated the general __init__.py to account for the fi…

    …le changes from previous commits and import successfully with a new order since itemattribute is used in other pyscan/general modules now.
    rsbrost committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    17cfb74 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7fb2d16 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c540945 View commit details
    Browse the repository at this point in the history
  7. chore(general): fixed error breaking pytests with decoder referencing…

    … np.float_ which was removed in numpy 2.0.
    rsbrost committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    41a37f3 View commit details
    Browse the repository at this point in the history
  8. chore(general): fixed error breaking pytests with decoder referencing…

    … np.float_ which was removed in numpy 2.0.
    rsbrost committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    a8b18bf View commit details
    Browse the repository at this point in the history