Skip to content

test for update_channels #6

@kkappler

Description

@kkappler

tsvi/tsvi/mth5_tsviewer/mth5_viewer_v1.py

Has a method called update_channels. It is not clear if this will work with an mth5 version 0.1.0 and 0.2.0 file.

Tasks:

  • Create a small synthetic data file v 0.1.0 (either commit to repo or make instructions on creation)
  • Create a small synthetic data file v 0.2.0 (either commit to repo or make instructions on creation)
  • probably factor a method out of the for loop, so that it is easy to test (see notes below)
  • create a test that runs update channels on the v 0.1.0 and v 0.2.0 files. Within the test, access some data to confirm the file path is truly valid.

Factor out the for loop to a function that takes self.files.value (files) as an input, and returns file_paths_dict (which we set self.file_paths with after) and df_dict.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions