YangLab-um / BiologicalOscillations.jl

A package for researchers working with biological oscillations
https://yanglab-um.github.io/BiologicalOscillations.jl/
MIT License
1 stars 2 forks source link

Result from find_pin_oscillations produces files that are too large #12

Closed ftavella closed 1 year ago

ftavella commented 1 year ago

When searching for protein interaction network (PIN) oscillations with find_pin_oscillations(connectivity, samples) the resulting dictionary is too large. For example when simulating the repressilator network with 100k samples, the resulting dictionary's size is 4.84 GB. Most likely this is becayse the entire differential equation solution is returned. I propose to only return the solution at the solver's evaluated timepoints instead. This should considerably reduce the file size of the solution.

ftavella commented 1 year ago

After saving only the time series, the size dropped from 4.84 GB to 3.75 GB which is still big. I'll keep analyzing where the large file size is coming from

ftavella commented 1 year ago

The problem was solved. The error came from calling save("fname", "pin_result", pin_result) instead of jldsave()