[LON-CAPA-cvs] cvs: modules /gerd/harvesting seq_taxonomy.pl taxonomy.dat

www www at source.lon-capa.org
Sat Sep 10 21:10:28 EDT 2011


www		Sun Sep 11 01:10:28 2011 EDT

  Modified files:              
    /modules/gerd/harvesting	seq_taxonomy.pl taxonomy.dat 
  Log:
  Additional work on taxonomies
  
  
Index: modules/gerd/harvesting/seq_taxonomy.pl
diff -u modules/gerd/harvesting/seq_taxonomy.pl:1.3 modules/gerd/harvesting/seq_taxonomy.pl:1.4
--- modules/gerd/harvesting/seq_taxonomy.pl:1.3	Sat Sep 10 03:19:01 2011
+++ modules/gerd/harvesting/seq_taxonomy.pl	Sun Sep 11 01:10:28 2011
@@ -53,10 +53,12 @@
              }
           } 
       }
-      my $max=0;
+      my $max=-10000;
       my $winner='';
       foreach my $suc (keys(%successes)) {
-         if ($successes{$suc}>$max) {
+         if ($successes{$suc}==$max) {
+            $winner.=','.$suc;
+         } elsif ($successes{$suc}>$max) {
             $max=$successes{$suc};
             $winner=$suc;
          }
Index: modules/gerd/harvesting/taxonomy.dat
diff -u modules/gerd/harvesting/taxonomy.dat:1.3 modules/gerd/harvesting/taxonomy.dat:1.4
--- modules/gerd/harvesting/taxonomy.dat:1.3	Sat Sep 10 03:19:01 2011
+++ modules/gerd/harvesting/taxonomy.dat	Sun Sep 11 01:10:28 2011
@@ -48,6 +48,19 @@
 chemistry:matter:colloidssuspensions	suspension,colloid,colligative,osmosis,suspended,solution,dispersion,vapor,hypertonic
 chemistry:matter:acidsbases	acid,base,acids,bases,arrhenius,hydrogen,ion,water,ph,neutralization	
 chemistry:organic:introduction	organic,carbon,hydrogen,oxygen
+chemistry:organic:orbitals	organic,orbital,orbitals,hybridization,bonding
+chemistry:organic:alkanes	organic,carbon,carbons,alkane,alkanes,alkyl
+chemistry:organic:stereo	organic,stereo,chirality,optical
+chemistry:organic:rings		cyclohexane,cyclic,bicyclic,polycyclic,benzene
+biology:introduction:classification	regio,domain,regnum,kingdom,phylum,division,classis,class,ordo,order,familia,family,genus,species
+biology:introduction:evolution	evolution,darwin,survival,mutation,mutations,genetic,gene,evolutionary,recombination,flow
+biology:cells:organelles	cell,cells,organelle,organelles,eukaryotic,cytoskeleton,prokaryotic,endoplasmic,reticulum,golgi,mitochondria,lysosome
+biology:cells:respiration	cell,cells,respiration,anaerobic,aerobic,cell,metabolism,metabolic,atp,adenosine,triphosphate,catabolic
+biology:cells:photosynthesis	cell,cells,photons,photosynthesis,chloroplast
+biology:cells:division	division,cell,cells,mitosis,meiosis
+biology:cells:dna	dna,helix,nucleic,acid,base,guanine,cytosine,adenine,thymine
+biology:cells:replitrans	replication,transcription,translation,dna,rna,mrna,chromosomes,chromosome
+biology:cells:regulation	cell,cells,regulation,cycle,gene
 statistics:descriptive:means	mean,standard,deviation,value,proability,number,measure,measurement,median,formula
 mathematics:numbers:fractions	numerator,rational,fraction,fractions,denominator,simplification,simplify
 mathematics:functions:trigonometric	function,functions,cosine,sine,tangent,sin,cos,period,pi




More information about the LON-CAPA-cvs mailing list