dsilvestro / PyRate

PyRate is a program to estimate speciation, extinction, and preservation rates from fossil occurrence data using a Bayesian framework.
GNU Affero General Public License v3.0
76 stars 34 forks source link

Fix MBD outfile name .txt problem #12

Closed bmchorse closed 6 years ago

bmchorse commented 6 years ago

When PyRateMBD.py runs, the output filename is a concatenation of dataset_name, args.j, model_name, and out_tag. Unfortunately, dataset_name usually ends in .txt so we wind up with a logfile named, for example, [analysis details]_se_est.txt_ 0_lin_MBD.log.

I have introduced a change that simply removes .txt from the dataset filename and uses that new variable for out_file_name instead.

dsilvestro commented 6 years ago

Thanks for the fix!