redundans: replace incorrect hard-coded path for sspace-standard (#9483)
This commit is contained in:
parent
13c83b8ca4
commit
ac68ed8fa8
1 changed files with 5 additions and 0 deletions
|
@ -46,7 +46,12 @@ class Redundans(Package):
|
|||
depends_on('snap-berkeley@1.0beta.18:', type=('build', 'run'))
|
||||
|
||||
def install(self, spec, prefix):
|
||||
sspace_location = join_path(spec['sspace-standard'].prefix,
|
||||
'SSPACE_Standard_v3.0.pl')
|
||||
mkdirp(prefix.bin)
|
||||
filter_file(r'sspacebin = os.path.join(.*)$',
|
||||
'sspacebin = \'' + sspace_location + '\'',
|
||||
'redundans.py')
|
||||
install('redundans.py', prefix.bin)
|
||||
with working_dir('bin'):
|
||||
install('fasta2homozygous.py', prefix.bin)
|
||||
|
|
Loading…
Reference in a new issue