Skip to content

Commit 94b6faa

Browse files
Minor update-- removed unnecessary comments and private keyword before functions
1 parent 837932b commit 94b6faa

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

wormbase/wormbase.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class WormbaseParser extends Bio2RDFizer {
3434
function __construct($argv) {
3535
parent::__construct($argv, "wormbase");
3636
parent::addParameter('files', true, 'all|geneIDs|functional_descriptions|gene_associations|gene_interactions|phenotype_associations','all','files to process');
37-
parent::addParameter('release', true, null, 'WS235');
37+
parent::addParameter('release', true, null, 'WS235', 'Release version of WormBase');
3838
parent::addParameter('download_url', false, null,'ftp://ftp.wormbase.org/pub/wormbase/');
3939
parent::initialize();
4040
}//constructor
@@ -269,9 +269,9 @@ function functional_descriptions(){
269269
}
270270
}
271271
parent::WriteRDFBufferToWriteFile();
272-
}#function functional_descri
272+
}
273273

274-
private function gene_associations(){
274+
function gene_associations(){
275275

276276
while($l = parent::getReadFile()->Read()){
277277
if($l[0] == '#') continue;
@@ -409,10 +409,9 @@ function phenotype_associations(){
409409
}
410410
parent::WriteRDFBufferToWriteFile();
411411
}//while
412-
} ##phenotype_association
412+
}
413413

414-
private function gene_interactions(){
415-
#1 Regular expression to cath the data
414+
function gene_interactions(){
416415
while($l = parent::getReadFile()->Read()){
417416
if($l[0] == '#') continue;
418417

0 commit comments

Comments
 (0)