LightForm-group / KWN-deformation

KWN model with external deformation considered via the amount of excess vacancies
MIT License
7 stars 3 forks source link

File I/O Error #45

Open samuel-hg-engel opened 8 months ago

samuel-hg-engel commented 8 months ago

When writing the distribution file precipitation_distribution_{X}C_strain_rate{Y}.txt, if the precipitation density is small in the larger bins they are written as 0.783187485266873-335 excluding the E for the scientific notation. This affects reading the file with numpy or similar.

I assume the easiest fix for this would be some threshold to simply write 0.0 instead.