aiidateam / aiida-wannier90-workflows

A collection of advanced automated workflows to compute Wannier functions using AiiDA and the Wannier90 code
http://aiida-wannier90-workflows.readthedocs.io/
Other
16 stars 17 forks source link

Very generic error message #16

Open giovannipizzi opened 2 years ago

giovannipizzi commented 2 years ago

Here, the error says cannot find Fermi energy: https://github.com/aiidateam/aiida-wannier90-workflows/blob/8476014f9d22bfd3e556ece2ae3710415de7a250/aiida_wannier90_workflows/utils/workflows/plot.py#L255-L258 In reality, it should say "The first parameter is not a PW Bands". This will also help users debug (I had a user who swapped the two PKs and couldn't understand why)