liamrevell / Rphylip

An R interface for PHYLIP.
12 stars 12 forks source link

Rthreshml fails when ngen > 99999 #11

Open willgearty opened 4 years ago

willgearty commented 4 years ago

When ngen is greater than 99999, threshml fails, spitting out the following message over and over:

ERROR: Unexpected end-of-file.

Hit Enter or Return to close program.

I'm not really sure why this is the case, maybe something to do with system, but, given that the default ngen value is 100000, it would probably be good to be able to support that value and greater values. From my own testing, it appears that the string "100000" works fine (and strings for greater values), so it might just be good to convert all of the input commands to strings.