You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might be a not-so-relevant edge case, but when you write data to a network drive (which might often be the case for us) it has happened to me that the network drive disconnects randomly and my simulation stops. Using a package like tenacity, it would be relatively easy to wrap all io functions (like plots for paraview) with @retry to retry the operation acertain number of times with a certain time delay in between trys.
This might be a not-so-relevant edge case, but when you write data to a network drive (which might often be the case for us) it has happened to me that the network drive disconnects randomly and my simulation stops. Using a package like
tenacity
, it would be relatively easy to wrap all io functions (like plots for paraview) with@retry
to retry the operation acertain number of times with a certain time delay in between trys.https://tenacity.readthedocs.io/en/latest/
Again, probably an edge case, but it would not be a very intrusive change to the code
The text was updated successfully, but these errors were encountered: