Dear Espen,
You have a typo in the function name, where you're using it...
extra 'i' ('...tutions' not 'tiutions')
regards,
Kenneth
On 07/08/2018 09:55, Espen Tangen wrote:
I am approaching Gaussian somewhat more laborous than Åke, solving some
of the challenges I meet (and potentially some other people) on a more
fundamental and long-term way, but have run into obstacles.
I get feedback when testing the block; which is a further development of
PackedBinary: NameError: global name 'apply_regex_substitiutions' is not
defined
This is what has been imported of packages and tools:
importos
importglob
importre
importshutil
fromeasybuild.framework.easyblock importEasyBlock
fromeasybuild.easyblocks.generic.binary importBinary
fromeasybuild.tools.build_log importEasyBuildError
fromeasybuild.tools.filetools importapply_regex_substitutions,
adjust_permissions, extract_file, change_dir, copy_file, remove_file
fromeasybuild.tools.run importrun_cmd
May somebody hint me in the right direction; I thought import re and
from easybuild.tools.filetools import apply_regex_substitutionsshould be
sufficient.
Regards
Et.