MannLabs / alphabase

Infrastructure of AlphaX ecosystem
https://alphabase.readthedocs.io
Apache License 2.0
31 stars 9 forks source link

Remove warning log on module load #163

Closed mschwoer closed 5 months ago

mschwoer commented 6 months ago

Move the warning that was issues on importing the tempmmap module to the first call of the associated methods, to avoid effects like this: image

@jalew188 we could think implementing a similar mechanism for creating the actual TemporaryDirectory object, as importing this module has the side effect of always creating an (empty) temp folder.

jalew188 commented 6 months ago

It shouldn't be warning I think. I think we can just logging.info or print(...).

Looks good to me

mschwoer commented 6 months ago

waiting for https://github.com/MannLabs/alphabase/pull/162 to be merged to avoid @sophiamaedler having to deal with potential merge conflict :-)