WayScience / coSMicQC

Single cell Morphology Quality Control (coSMicQC)
https://wayscience.github.io/coSMicQC/
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

Add `SCDataFrame` class to enable file-based or DataFrame-based data handling (input and output) #32

Closed d33bs closed 4 months ago

d33bs commented 5 months ago

Description

This PR introduces a class called SCDataFrame which loosely wraps (but does not extend) pd.DataFrame to assist with file-based input handling with existing functions in coSMicQC. This prepares us for CLI development in #14 by allowing filepaths of data to be used as inputs for any function which is currently compatible with pd.DataFrame.

Sidenotes: I reset the __init__.py version to be 0.0.0 as this is now dynamically versioned on release. I also needed to update some of the existing tests to show that the capabilities haven't changed.

Thanks for any feedback you may have! Please don't hesitate to let me know if you have any questions.

Closes #31

What kind of change(s) are included?

Checklist

Please ensure that all boxes are checked before indicating that this pull request is ready for review.

d33bs commented 4 months ago

Thanks @gwaybio and @jenna-tomkinson for your thorough reviews! I've addressed your comments and will now merge this in.