diff options
author | 健美猫 <weijianwen@gmail.com> | 2018-05-04 23:56:04 +0800 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2018-05-04 10:56:04 -0500 |
commit | 51c2dbb707cee378c760672a95785fdb0513a5e5 (patch) | |
tree | 53dd0e29424babf799287c2e720c5dfcbb1311ac | |
parent | 0570b075d4793f0e137f70d9ff741c95bd6d9053 (diff) | |
download | spack-51c2dbb707cee378c760672a95785fdb0513a5e5.tar.gz spack-51c2dbb707cee378c760672a95785fdb0513a5e5.tar.bz2 spack-51c2dbb707cee378c760672a95785fdb0513a5e5.tar.xz spack-51c2dbb707cee378c760672a95785fdb0513a5e5.zip |
Hic-Pro: fix a typo and replace hard-coded version. (#8022)
* Fix a typo and replace hard-coded version.
* version -> self.version.
-rw-r--r-- | var/spack/repos/builtin/packages/hic-pro/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/hic-pro/package.py b/var/spack/repos/builtin/packages/hic-pro/package.py index 11d4c4db86..d79b19e16b 100644 --- a/var/spack/repos/builtin/packages/hic-pro/package.py +++ b/var/spack/repos/builtin/packages/hic-pro/package.py @@ -65,10 +65,10 @@ class HicPro(MakefilePackage): make('readstrimming') make('iced') - def install(sefl, spec, prefix): + def install(self, spec, prefix): # Patch INSTALLPATH in config-system.txt config = FileFilter('config-system.txt') - config.filter('/HiC-Pro_2.10.0', '') + config.filter('/HiC-Pro_%s' % self.version, '') # Install install('config-hicpro.txt', prefix) install('config-install.txt', prefix) |