ISET / iset3d-v3

LEGACY: Replaced by iset3d (v4) -- Read a PBRT file. Edit the parameters. Render an ISET scene or optical image.
MIT License
36 stars 8 forks source link

Timing issue of .dat file saving/reading using a Windows system #31

Open floriancbeck opened 4 years ago

floriancbeck commented 4 years ago

Hello,

I experienced a similar issue as issue #8 with my Windows 10 system, where the read serialized image had an other size than stated in header of the respective .dat file.

After several trials I have found out that mainly the executing of the docker command with Matlab's system() call in piRunCommand() function returns to early a good status before Docker was able to finish the simulation and saving the result in the .dat file.

This results later then in the incorrect sizes and throws the error in piReadDAT().

Is this issue only depending on the OS? Is there some other way to check if the Docker command ran successfully and the saving was completed?

Best regards, Florian