In preparing the AiiDAlab QE app demo image, I tried to use --download-only to download pseudos first and then install the pseudos from the file which will make the first-time app start faster.
However, I need to call install with --download-only in an environment without aiida profile and it raises an error.
I notice the options.PROFILE() is set for the command root thus every sub command needs it as well. Is there a way that when --download-only is set the PROFILE option be excluded temporarily?
In preparing the AiiDAlab QE app demo image, I tried to use
--download-only
to download pseudos first and then install the pseudos from the file which will make the first-time app start faster. However, I need to call install with--download-only
in an environment without aiida profile and it raises an error. I notice theoptions.PROFILE()
is set for the command root thus every sub command needs it as well. Is there a way that when--download-only
is set the PROFILE option be excluded temporarily?