You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As is, the tests which involve calling Espresso fail if the PWSCF command is not found.
It would be nice if the PWSCF command was not detected for the unit tests for calling QE to not fail, but simply be skipped. This may be more informative to the user, as there are reasons why it could fail in attempting to call QE which would require debugging.
We could also print a message encouraging the user to fix their environment variable.
The text was updated successfully, but these errors were encountered:
Working on this now, can be done with the following command:
@pytest.mark.skipIf(not os.environ.get('PWSCF_COMMAND', False), 'PWSCF_COMMAND not found ' 'in environment: Please install Quantum ' 'ESPRESSO and set the PWSCF_COMMAND env. ' 'variable to point to pw.x.')
As is, the tests which involve calling Espresso fail if the PWSCF command is not found.
It would be nice if the PWSCF command was not detected for the unit tests for calling QE to not fail, but simply be skipped. This may be more informative to the user, as there are reasons why it could fail in attempting to call QE which would require debugging.
We could also print a message encouraging the user to fix their environment variable.
The text was updated successfully, but these errors were encountered: