Skip to content
Snippets Groups Projects
Commit fea3d79a authored by tjc's avatar tjc
Browse files

correct data dir

git-svn-id: svn+ssh://svn.internal.sanger.ac.uk/repos/svn/pathsoft/artemis/trunk@1675 ee4ac58c-ac51-4696-9907-e4b3aa274f04
parent a07eaa4a
No related branches found
No related tags found
No related merge requests found
......@@ -71,10 +71,24 @@ sub process_fasta
die "cannot understand $fasta_results_file\n";
}
if (! -e $sequence_file) {
die "cannot find $sequence_file\n";
if ($feature_file =~ /(.*)(\/jalview\/)(.+)$/)
{
$sequence_file = "$1/$sequence_file";
if (! -e $fasta_results_file &&
! -e "$fasta_results_file.gz")
{
$fasta_results_file = "$1/$fasta_results_file";
}
}
if (! -e $sequence_file)
{
die "cannot find $sequence_file\n";
}
}
my $fasta_seq_for_alignment = "";
open SEQ_FILE, $sequence_file or die "cannot open $sequence_file: $!\n";
......
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