cbrnr / sleepecg

Sleep stage detection using ECG
BSD 3-Clause "New" or "Revised" License
96 stars 25 forks source link

Some inconsistencies #127

Closed cbrnr closed 1 year ago

cbrnr commented 1 year ago

I was wondering why the following classes are not exported (i.e. part of sleepecg/io/__init__.py and therefore also in the API docs):

These are "public" classes, and should therefore be exported (or made "private" by appending an underscore).

Similarly, sleepecg.io.gudb.GUDB_MD5 is "public" (but not exported), I think here it would be consistent to rename to _GUDB_MD5.

@hofaflo WDYT?

hofaflo commented 1 year ago

I agree on all points!