danieljprice / phantom

Phantom Smoothed Particle Hydrodynamics and Magnetohydrodynamics code
https://phantomsph.github.io
Other
103 stars 230 forks source link

find_phantom_datafile should give an error if it downloads garbage #530

Open danieljprice opened 5 months ago

danieljprice commented 5 months ago

if a datafile is requested from an online source and a file with html 404 error or similar is downloaded, phantomsetup assumes this is the file requested and tries to carry on

the correct behaviour should be to emit a "file not found on server" error...