Skip to content

Conversation

@ms609
Copy link
Contributor

@ms609 ms609 commented Dec 16, 2025

The Fossil birth death tutorial scripts do not run correctly.

This draft PR is my attempt to update it to run in RevBayes 1.3.2.

Using the formal function name rather than an abbreviation avoids confusion in debugging, and potentially guards against typos by users as yet unfamiliar with the abbreviations

Debugging example:

```
   Arguments which could not be matched (we stopped after the first mismatch):
   	origin
   Provided call:
   dnFBDRP (RealPos<stochastic> 'origin',
            RealPos<stochastic> 'lambda',
            RealPos<stochastic> 'mu',
            RealPos<stochastic> 'psi',
            Probability<constant> 'rho',
            Taxon[]<constant> 'taxa' )
   
   Correct usage is:
   dnFossilizedBirthDeathRange (Bool<any> BDS,
                                RealPos|RealPos[]<any> lambda,
```
Is an inexperienced user likely to understand that these are the same function?
@ms609 ms609 changed the title Replace dnFBDRP alias with dnFossilizedBirthDeathRange Update FDB tutorial Dec 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants