IUBio

Table-maker bug fix

Maria Nemchuk mnemchuk at GREENGENES.CIT.CORNELL.EDU
Wed Oct 21 12:01:41 EST 1998


If your Table-maker doesn't work in webace2... 

FIRST:

In cgi-bin/acelib/hostinfo.pl, the original line

		$main::acebin='/nfs/wwwdisk/bin'; 
   
should be substituted with the actual path of the directory that contains tace.

		$main::acebin='/your_path/bin';

(The comment says this item is not used, which it isn't, except by table-maker.)


And SECOND:

Recently we got the following fix for the "Tag chooser" button from Sean Walsh:
In Acedb.pm cleanModel, change 

   my (@save) = $node->right->right;

to,
  
   my (@save) = $node->right;

The correct function is listed below.	


sub cleanModel {
    my ($model) = @_;
    my ($node);
    # 1st, get rid of time stamp(s)
    &usclean($model);
    foreach $node ($model->findNodes({va=>'XREF'})) {
      my (@save) = $node->right;
      my ($parentNode) = $node->left;
      prune $node;
      $parentNode->graft(@save) if @save;
    }
    foreach $node ($model->findNodes({va=>'UNIQUE'})) {
      my (@save) = $node->right;
      my ($parentNode) = $node->left;
      prune $node;
      $parentNode->graft(@save) if @save;
    }
    foreach $node ($model->findNodes({va=>'REPEAT'})) {
      my ($parentNode) = $node->left;
      prune $node;
    }
    return $model;
}

Many thanks for all your help Sean!!

Maria Nemchuk
Database group
Plant Breeding Dept.
Cornell Univ.




More information about the Acedb mailing list

Send comments to us at biosci-help [At] net.bio.net