Skip to content

Change path handling from os to pathlib #77#111

Merged
collinleiber merged 1 commit into
mainfrom
path
May 28, 2026
Merged

Change path handling from os to pathlib #77#111
collinleiber merged 1 commit into
mainfrom
path

Conversation

@collinleiber

Copy link
Copy Markdown
Owner
  • Change path handling from str and os to Path and pathlib
  • Add bbc data

@codecov

codecov Bot commented May 25, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 88.05970% with 48 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.83%. Comparing base (4a36821) to head (58e1083).

Files with missing lines Patch % Lines
clustpy/data/real_world_data.py 78.12% 21 Missing ⚠️
clustpy/data/real_video_data.py 47.61% 11 Missing ⚠️
clustpy/data/_utils.py 76.19% 10 Missing ⚠️
clustpy/utils/evaluation.py 85.29% 5 Missing ⚠️
clustpy/data/real_uci_data.py 99.19% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #111      +/-   ##
==========================================
+ Coverage   92.80%   92.83%   +0.02%     
==========================================
  Files          63       63              
  Lines        9135     9200      +65     
==========================================
+ Hits         8478     8541      +63     
- Misses        657      659       +2     
Files with missing lines Coverage Δ
clustpy/alternative/nrkmeans.py 92.93% <100.00%> (ø)
clustpy/data/real_clustpy_data.py 100.00% <100.00%> (ø)
clustpy/data/real_medical_mnist_data.py 96.59% <100.00%> (ø)
clustpy/data/real_timeseries_data.py 100.00% <100.00%> (ø)
clustpy/data/real_torchvision_data.py 80.68% <100.00%> (+0.22%) ⬆️
clustpy/deep/_abstract_deep_clustering_algo.py 91.52% <100.00%> (+0.14%) ⬆️
clustpy/deep/_data_utils.py 90.26% <100.00%> (+0.08%) ⬆️
clustpy/deep/_train_utils.py 93.22% <100.00%> (+0.11%) ⬆️
clustpy/deep/aec.py 100.00% <100.00%> (ø)
clustpy/deep/dcn.py 100.00% <100.00%> (ø)
... and 16 more
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@collinleiber collinleiber merged commit 5ad9f7e into main May 28, 2026
7 checks passed
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.

Bug in Evaluation: save_path expects a "." [FEATURE] Data loading functions should be able to handle pathlib.Path

1 participant