Skip to content

Conversation

@prilau
Copy link

@prilau prilau commented Jun 12, 2025

No description provided.

@bredelings
Copy link
Contributor

Since this is a new tutorial, can you please add a test? To do that, add a file cont_tests/tests.txt with the name of at least 1 script. You can compare to ctmc/tests.txt. The test should check that a tutorial test script runs successfully for 1 generation.

These tests are run from the script run_tutorial_tests.sh. That script contains logic to change the number of generations to 1 during the test, so please check that this works for your test script.

@bredelings
Copy link
Contributor

bredelings commented Jun 12, 2025

If you look at the failing checks above, you can see the following error message:

             ERROR: YOUR SITE COULD NOT BE BUILT:
                    ------------------------------------
                    Could not locate file 'scripts/plot_state_dependent_OU.R' included in tutorial 'tutorials/cont_traits/state_dependent_ou.md'. 
                    ------------------------------------------------
      Jekyll 4.3.3   Please append `--trace` to the `build` command 
                     for any additional information or backtrace. 
                    ------------------------------------------------

Maybe you just forgot to commit this file?

@prilau
Copy link
Author

prilau commented Jun 12, 2025 via email

@prilau
Copy link
Author

prilau commented Jun 12, 2025

Since this is a new tutorial, can you please add a test? To do that, add a file cont_tests/tests.txt with the name of at least 1 script. You can compare to ctmc/tests.txt. The test should check that a tutorial test script runs successfully for 1 generation.

These tests are run from the script run_tutorial_tests.sh. That script contains logic to change the number of generations to 1 during the test, so please check that this works for your test script.

Hi again,

I will put the tutorial on hold and wait till the branch of revbayes I have been working on has merged with the development branch. Thanks a lot for your help!

@prilau prilau closed this Jun 12, 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.

3 participants