SSCHAcode / python-sscha

The python implementation of the Stochastic Self-Consistent Harmonic Approximation (SSCHA).
GNU General Public License v3.0
55 stars 21 forks source link

Print the error message if a vc relax is selected but no pressure files are loaded #142

Closed mesonepigreco closed 1 year ago

mesonepigreco commented 1 year ago

if the pressures are all 0, it means there is an error in loading the stress data. The code should stop the execution and tell the user that there is an error in loading the pressure data. Most likely, the error is that the user forget to store the pressures in the files pressures_populationX_Y.dat