Closed yakutovicha closed 3 years ago
This command is from the aiida_siesta
package and probably needs to be modified in order to be compatible with aiida 2.0.
In any case this command will be deprecated in favour of:
aiida-pseudo install family usr/local/share/siesta/psml-files-qm/nc-sr-04_pbe_standard/ nc-sr-04_pbe_standard_psml -P pseudo.psml
The problem is because PsmlData.set_file
uses the following (incorrect) signature:
The SinglefileData.set_file
method was changed to be:
(i.e. add the argument filename
) in commit bec7ee14aeaae65a1f30b547696dd081e43629f6, which was released with `aiida-core==1.0.1. A deprecation warning has been emitted ever since if subclasses were instantiated with the old signature.
@bosonie if you are still making a release soon, maybe it would be useful to update the class method signature so that the plugin is compatible with v1.*
and v2.*
.
Thanks. In case there is no other major back incompatible change, I might consider it.
I think you should simply be able to add the filename=None
argument to the set_file
method and it should work
From the above I understand that this will then be dealt with in the aiida-siesta
package, correct? If so I'm closing the issue down, but let me know if I'm misinterpreted something and you want to re-open it.
@ramirezfranciscof correct! It is actually already fixed, but not released. In any case it is a deprecated part of the code. Thanks for closing this.
Describe the bug
I tried to import psml pseudo family in Quantum Mobile using the develop branch of AiiDA (sha 6c4ced3331b389cebd01a59d55eb4b07f9452672):
however, it failed with the following error: