childmindresearch / wristpy

https://childmindresearch.github.io/wristpy/
GNU Lesser General Public License v2.1
5 stars 5 forks source link

133 directory processing #142

Open frey-perez opened 1 week ago

frey-perez commented 1 week ago

Resolves #133. Allows for the run function to be used on single files or directories. The former run() function is now run_file() and run() now calls run_file once in the case of single files or for every valid file in the case of directory inputs. The new run() function will still return individual Results objects when returning one file, and a dictionary of Results objects when running entire directories.

codecov[bot] commented 1 week ago

Codecov Report

Attention: Patch coverage is 88.23529% with 8 lines in your changes missing coverage. Please review.

Project coverage is 95.79%. Comparing base (d0e9226) to head (afce3eb).

Files with missing lines Patch % Lines
src/wristpy/core/orchestrator.py 88.57% 4 Missing :warning:
src/wristpy/__main__.py 0.00% 3 Missing :warning:
src/wristpy/core/models.py 96.15% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #142 +/- ## ========================================== - Coverage 96.25% 95.79% -0.46% ========================================== Files 11 11 Lines 561 595 +34 ========================================== + Hits 540 570 +30 - Misses 21 25 +4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

ReinderVosDeWael commented 6 days ago

Also update the tutorial