amkozlov / raxml-ng

RAxML Next Generation: faster, easier-to-use and more flexible
GNU Affero General Public License v3.0
379 stars 64 forks source link

Write a initial date/time string to the log #53

Closed terrycojones closed 5 years ago

terrycojones commented 5 years ago

It would be useful if the log file indicated when the run began. That can be an important part of keeping track of making many trees. It's also very useful in a context where you submit a job to a busy cluster and it takes some time before the job actually begins. Currently it's not possible to look in the log file to see when that was, so one needs to go try to find the job id and then interrogate the scheduling system etc. The RAxML-NG was called as follows: line could be change to say RAxML-NG was called at Thu Nov 15 08:42:57 GMT 2018 as follows: or similar.

Thanks!

amkozlov commented 5 years ago

Please look at the end of the log file, there is a line

Analysis started: 13-Nov-2018 15:52:42 / finished: 13-Nov-2018 15:52:43

isn't that what you are after?

terrycojones commented 5 years ago

Hi @amkozlov Sorry, I should have been clearer. I'd seen the line you mention, but it only appears at the end of the analysis. You can't look at an in-progress log file and tell when the run started.

amkozlov commented 5 years ago

Hi @terrycojones,

OK I see your point, just added it to the latest dev (86ad69b). Thanks for suggesting!

Alexey.

terrycojones commented 5 years ago

Great! Thanks @amkozlov