Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PP plugin: retrieve multiple files. #530

Closed
yakutovicha opened this issue Jun 24, 2020 · 0 comments · Fixed by #533
Closed

PP plugin: retrieve multiple files. #530

yakutovicha opened this issue Jun 24, 2020 · 0 comments · Fixed by #533

Comments

@yakutovicha
Copy link
Collaborator

Before #428 was merged it was possible to define an additional_retrieve_list setting to retrieve more files. This is needed, for example, if one wants to download multipe output files which are produced by plot orbitals run:

&INPUTPP
  filplot = 'aiida.filplot'
  kband(1) = 12
  kband(2) = 12
  kpoint(1) = 1
  kpoint(2) = 24
  outdir = './out/'
  plot_num = 7
  prefix = 'aiida'
/
&PLOT
  fileout = 'aiida.fileout'
  iflag = 3
  output_format = 6
/

In that case, pp.x will produce a number of files named as follows: aiida.filplot_K***_B***aiida.fileout.

The possible solution for this is to either return additional_retrieve_list setting back or to define a wildcard instead of

if self.inputs.metadata.options.keep_plot_file:
calcinfo.retrieve_list.append(self._FILEOUT)
else:
calcinfo.retrieve_temporary_list.append(self._FILEOUT)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant