Skip to content

Commit 3a5270b

Browse files
Removed check for trailing slashes in indir and outdir
1 parent d8243c2 commit 3a5270b

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

sgd/sgd.php

-14
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,6 @@ function download(){
6767

6868
$ldir = parent::getParameterValue('indir');
6969
$rdir = parent::getParameterValue('download_url');
70-
71-
//make sure directories end with slash
72-
if(substr($ldir, -1) !== "/"){
73-
$ldir = $ldir."/";
74-
}
7570

7671
$rfiles = array(
7772
"dbxref" => "curation/chromosomal_feature/dbxref.tab",
@@ -117,15 +112,6 @@ function process(){
117112
$rdir = parent::getParameterValue('download_url');
118113
$odir = parent::getParameterValue('outdir');
119114

120-
//make sure directories end with slash
121-
if(substr($ldir, -1) !== "/"){
122-
$ldir = $ldir."/";
123-
}
124-
125-
if(substr($odir, -1) !== "/"){
126-
$odir = $odir."/";
127-
}
128-
129115
$rfiles = array(
130116
"dbxref" => "curation/chromosomal_feature/dbxref.tab",
131117
"features" => "curation/chromosomal_feature/SGD_features.tab",

0 commit comments

Comments
 (0)