HyPhy message board
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
Methodology Questions >> How to >> Progress bar
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1142882426

Message started by Olivier Fedrigo on Mar 20th, 2006 at 11:20am

Title: Progress bar
Post by Olivier Fedrigo on 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

Title: Re: Progress bar
Post by Sergei on 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

HyPhy message board » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2024. All Rights Reserved.