Welcome, Guest. Please Login
YaBB - Yet another Bulletin Board
 
  HomeHelpSearchLogin  
 
Progress bar (Read 2082 times)
Olivier Fedrigo
Guest


Progress bar
Mar 20th, 2006 at 11:20am
 
does anyone know if hyphy has an equivalent to C function fflush ?
I try to implement a progress bar and I need to print something like " [...... ] " but it does not refresh until the process is done.

thanks,

Olivier
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: Progress bar
Reply #1 - Mar 22nd, 2006 at 10:05pm
 
Dear Olivier,

HyPhy buffers all console output and does it one line at a time and there is no fflush equivalent. I've been thinking about adding a progress bar functionality to HyPhy via a built-in call which can pop up windows in GUI versions, and perhaps a console [...] or spinning pipes or something like that.

Shouldn't be too hard to do. I'll keep you posted.

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