Skip to content

Comments

Tests data load#100

Closed
JMP-MO wants to merge 2 commits intoACCESS-Community-Hub:developfrom
JMP-MO:tests-data-load
Closed

Tests data load#100
JMP-MO wants to merge 2 commits intoACCESS-Community-Hub:developfrom
JMP-MO:tests-data-load

Conversation

@JMP-MO
Copy link
Collaborator

@JMP-MO JMP-MO commented Apr 16, 2025

I have added a test file for the packages/data/load.py file.

During this process I discovered that passing non Paths or Strings to the stream parameter did not raise an error. So I have added one. I also added comments to the original code file to explain what each line does as I did this to understand how the script processes input data for testing. I also reformatted the stream list index selection to be more readable.

All tests pass when running now. I also tested running some of the tutorial notebooks to check for change in behaviour.

@JMP-MO JMP-MO closed this Apr 16, 2025
@coveralls
Copy link

Pull Request Test Coverage Report for Build 14490060666

Details

  • 42 of 42 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.2%) to 58.804%

Totals Coverage Status
Change from base Build 14485994163: 0.2%
Covered Lines: 7918
Relevant Lines: 13096

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants