[Bio] / FigKernelScripts / load_attributes.pl Repository:
ViewVC logotype

Diff of /FigKernelScripts/load_attributes.pl

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

revision 1.21, Fri Jul 22 22:23:50 2005 UTC revision 1.22, Fri Jul 22 22:27:48 2005 UTC
# Line 197  Line 197 
197    unless ($line[0]) {print STDERR "No ID at line in $from at:\n$_"; next}    unless ($line[0]) {print STDERR "No ID at line in $from at:\n$_"; next}
198    unless ($line[1]) {print STDERR "No key at line in $from at:\n$_"; next}    unless ($line[1]) {print STDERR "No key at line in $from at:\n$_"; next}
199    if (length($line[1]) > 64) {print STDERR "Key is longer than 64 characters in $from at:\n$_"; next}    if (length($line[1]) > 64) {print STDERR "Key is longer than 64 characters in $from at:\n$_"; next}
200      if ($#line ==2) {$line[3]=''}
201    unless ($#line == 3) {print STDERR "Lines in $from have more than 4 columns. You are only allowed feature, key, value, and url\n"; next}    unless ($#line == 3) {print STDERR "Lines in $from have more than 4 columns. You are only allowed feature, key, value, and url\n"; next}
202    # clean the key    # clean the key
203    $line[1] =  $fig->clean_attribute_key($line[1]);    $line[1] =  $fig->clean_attribute_key($line[1]);

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3