Closed aiida-bot closed 7 years ago
Original comment by Giovanni Pizzi (Bitbucket: pizzi, GitHub: giovannipizzi):
Implemented the support for patterns in the retrieve_file_list. Also, now it is possible to decide the name for the retrieved file, to be different from the remote name. Bands can now be supported (probably they work already, but need a check and an example). Fixes issue #90.
Original comment by Andrea Cepellotti (Bitbucket: acepellotti, GitHub: cepellotti):
Fixed in fee0ba6
Originally reported by: Nicolas Mounet (Bitbucket: mounet, GitHub: nmounet)
The retrieve list cannot contain a pattern, e.g. 'some_path/K[0-9]' : the retrieve fails with a ValueError ("Pathname patterns are not allowed in the destination"). Yet this would be needed for QE bands retrieval (to get all k points folders). A proposal is to provide in the retrieve_list a list of tuples of the kind (initial_file_or_folder_name, destination) where initial_file_or_folder_name could contain a pattern or a single name * destination could be a single file name or a folder name, in the latter case allowing to copy all the files/folders of the pattern. execmanager and all current input plugins would have to be modified accordingly.