Welcome, Guest. Please Login
YaBB - Yet another Bulletin Board
 
  HomeHelpSearchLogin  
 
load a tree from an input tree file (Read 1573 times)
Miguel
Junior Member
**
Offline


Hi Hyphy!

Posts: 53
CBMSO, CSIC (Spain)
Gender: male
load a tree from an input tree file
Oct 2nd, 2008 at 6:38pm
 
Hi Sergei,

I am trying to load a tree from an input tree file in this way:
Tree treeString = treeInputfileName;
where "treeInputfileName" is the name of the input file and "treeString" is the variable which should contains the tree to the end.

However, I have an error in that loading. How can I do?


Thanks

Miguel
Back to top
 
WWW WWW  
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: load a tree from an input tree file
Reply #1 - Oct 4th, 2008 at 8:21am
 
Dear Miguel,

Try

Code:
fscanf (fileName,"Tree",treeVariable);
 



Cheers,
Sergei
Back to top
 

Associate Professor
Division of Infectious Diseases
Division of Biomedical Informatics
School of Medicine
University of California San Diego
WWW WWW  
IP Logged
 
Miguel
Junior Member
**
Offline


Hi Hyphy!

Posts: 53
CBMSO, CSIC (Spain)
Gender: male
Re: load a tree from an input tree file
Reply #2 - Oct 4th, 2008 at 4:25pm
 
Many thanks!  Wink


Cheers,

Miguel
Back to top
 
WWW WWW  
IP Logged