bayou
bayou copied to clipboard
Closing unused connections
If a bayou run is interrupted, these warnings show up. I need to make a way so that runs that are interrupted still produce a fit object that can be loaded, even if the run didn't finish, and the file connections get closed (like diversitree does)
Having a similar issue. I kind of solved it by creating a 'handle' object. This object stores all the information necessary to restart the MCMC. If you save such handle to file before the MCMC starts, then you can simply read it back and continue the analysis. You will lose all the generations that were not written to files up to that point, of course.
About the annoying open connection messages. Well, I do not think this is a problem. It is just what it should be. A broken connection.