Closed stranda closed 4 years ago
Got it!
Thanks!
On Thu, Mar 19, 2020 at 3:36 PM Rodney J. Dyer notifications@github.com wrote:
Got it!
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dyerlab/gstudio/pull/9#issuecomment-601378463, or unsubscribe https://github.com/notifications/unsubscribe-auth/AANBUS6OZM3BQOKFNGMHLWTRIJX3DANCNFSM4LPQKVMQ .
Hi Rodney,
we are looking at using gstudio and popgraph in a large number of simulations running on a parallel machine. We were writing files to disk and rereading using read_population. To avoid file name collisions for simultaneous jobs, we were looking into using textConnections to provide input for read_population.
Unfortunately the first thing read_population does is check for file and directory existence. I changed the source to check for textconnections first and then if it is not a textConnection, perform the file.exist tests that you already implemented.
This pull request has the new changes to read_population.R