California-Planet-Search / rvsearch

RV Planet Search Pipeline Based on RadVel
http://california-planet-search.github.io/rvsearch/
MIT License
10 stars 5 forks source link

Print search progress on one line #179

Closed zhexingli closed 4 years ago

zhexingli commented 4 years ago

Is it possible to print out the search progress using just one line? i.e. new progress overwrites the old progress on the same line instead of printing out hundreds of lines. The way radvel is printing mcmc progress now is pretty nice actually.

leerosenthalj commented 4 years ago

Hi Zhexing, the most recent version of the code does this. Try directly installing from the master branch of the github repo, rather than through pip (if that's how you currently have it installed).

zhexingli commented 4 years ago

Yeah I used pip. I'll try the new version and see if other issues will go away as well. Thx.

zhexingli commented 4 years ago

I uninstalled all pip version of rvsearch and downloaded the github master branch version of it, it still prints out progress at new lines, doesn't overwrite old progress like radvel does.

Screen Shot 2020-08-06 at 01 10 17
zhexingli commented 4 years ago

Looks like the python console in spyder is doing this, printing outputs on new lines everytime. Ipython is printing on the same line only, overwriting the old ones. Considering python console is being dropped by spyder, I don't think this is an issue any more.