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:

import os
import glob
import re
import shutil


from easybuild.framework.easyblock import EasyBlock
from easybuild.easyblocks.generic.binary import Binary
from easybuild.tools.build_log import EasyBuildError
from easybuild.tools.filetools import apply_regex_substitutions, 
adjust_permissions, extract_file, change_dir, copy_file, remove_file
from easybuild.tools.run import run_cmd

May somebody hint me in the right direction; I thought import re and from 
easybuild.tools.filetools import apply_regex_substitutions should be sufficient.

Regards

Et.

Reply via email to