Changeset 8275
- Timestamp:
- 2004-10-12T04:13:27+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/classify.pm
r8220 r8275 163 163 164 164 # get each of the classifications 165 CLASSIFIER:foreach $classobj (@$classifiers) {165 foreach $classobj (@$classifiers) { 166 166 my $tempinfo = $classobj->get_classify_info($gli); 167 167 my $classID = $tempinfo->{'classifyOID'}; 168 168 169 if ((defined $classID) && ($classID eq "oai")) {170 next CLASSIFIER;171 }172 169 $tempinfo->{'classifyOID'} = "CL$next_classify_num" unless defined($tempinfo->{'classifyOID'}); 173 170 $next_classify_num++; … … 216 213 next unless defined $tempinfo; 217 214 218 $contains_text .= ";" unless $first; 215 if (!defined ($tempinfo->{'classifyOID'}) || 216 $tempinfo->{'classifyOID'} ne "oai") { 217 $contains_text .= ";" unless $first; 218 } 219 219 $mdoffset_text .= ";" unless $first; 220 220 $first = 0; 221 221 222 222 if (defined ($tempinfo->{'classifyOID'})) { 223 $contains_text .= $tempinfo->{'classifyOID'}; 223 if ($tempinfo->{'classifyOID'} ne "oai") { 224 $contains_text .= $tempinfo->{'classifyOID'}; 225 } 224 226 &print_classify_info ($handle, $tempinfo, $tempinfo->{'classifyOID'}, 225 227 $allclassifications);
Note:
See TracChangeset
for help on using the changeset viewer.