[Bio] / Sprout / SproutLoad.pm Repository:
ViewVC logotype

Diff of /Sprout/SproutLoad.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.88, Mon Nov 5 22:52:06 2007 UTC revision 1.89, Mon Nov 5 23:43:57 2007 UTC
# Line 557  Line 557 
557                          my @cddData = sort keys %{$cddHash};                          my @cddData = sort keys %{$cddHash};
558                          for my $cdd (@cddData) {                          for my $cdd (@cddData) {
559                              # Extract the score for this CDD and decode it.                              # Extract the score for this CDD and decode it.
560                              my ($codeScore) = split(/\s*,\s*/, $cddHash->{$cdd}->[0]);                              my ($codeScore) = split(/\s*,\s*/, $cddHash->{$cdd}->[1]);
561                              my $realScore = FIGRules::DecodeScore($codeScore);                              my $realScore = FIGRules::DecodeScore($codeScore);
562                                # We can't afford to crash because of a bad attribute
563                                # value, hence the IF below.
564                                if (! defined($realScore)) {
565                                    # Bad score, so count it.
566                                    $loadFeature->Add('badCDDscore');
567                                } else {
568                              # Create the connection.                              # Create the connection.
569                              $loadIsPresentOnProteinOf->Put($cdd, $featureID, $realScore);                              $loadIsPresentOnProteinOf->Put($cdd, $featureID, $realScore);
570                              # If this CDD does not yet exist, create its record.                              # If this CDD does not yet exist, create its record.
# Line 568  Line 574 
574                              }                              }
575                          }                          }
576                      }                      }
577                        }
578                      # Now we need to bust up hyphenated words in the keyword                      # Now we need to bust up hyphenated words in the keyword
579                      # list. We keep them separate and put them at the end so                      # list. We keep them separate and put them at the end so
580                      # the original word order is available.                      # the original word order is available.

Legend:
Removed from v.1.88  
changed lines
  Added in v.1.89

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3