Skip to content
Snippets Groups Projects
Commit 58494488 authored by Andy Yates's avatar Andy Yates
Browse files

Adding the data-files dir into the path

parent 118352c3
No related branches found
No related tags found
No related merge requests found
......@@ -188,7 +188,7 @@ sub _target_species_root {
# e.g. pub/release-66/data_files/pan_trogladytes/CHIMP2.14/rnaseq/chimp_1.bam
sub _target_datafiles_root {
my ($self, $datafile) = @_;
my $base = $self->opts()->{ftp_dir};
my $base = File::Spec->catdir($self->opts()->{ftp_dir}, 'data-files');
my $target_location = $datafile->path($base);
my ($volume, $dir, $file) = File::Spec->splitpath($target_location);
return $dir;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment