Skip to content
Snippets Groups Projects
Commit ac68ed8f authored by snehring's avatar snehring Committed by Peter Scheibel
Browse files

redundans: replace incorrect hard-coded path for sspace-standard (#9483)

parent 13c83b8c
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment