chenyangkang / stemflow

A Python Package for Adaptive Spatio-Temporal Exploratory Model (AdaSTEM)
https://chenyangkang.github.io/stemflow/
MIT License
15 stars 1 forks source link

fixing github action RAM/CPU use problem #51

Closed chenyangkang closed 4 months ago

codecov-commenter commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 86.75%. Comparing base (36c4555) to head (94df0a1). Report is 13 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #51 +/- ## ========================================== + Coverage 84.76% 86.75% +1.98% ========================================== Files 30 30 Lines 2055 2054 -1 ========================================== + Hits 1742 1782 +40 + Misses 313 272 -41 ```

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

chenyangkang commented 4 months ago

Turn out to be a stupid mistake. When plot_gif is called, it take each unique 'DOY' as separate frame. I forgot to round the DOY column of the random fake data to integer, so there is infinite frames... which caused the memory issue.