From 16b9f8511b2d0a36b8588b23d79300488fc2412d Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Sat, 2 Oct 2021 20:05:43 -0400 Subject: [PATCH 1/8] Test new locations --- tutorials/introduction/01-ode_introduction.jmd | 1 + 1 file changed, 1 insertion(+) diff --git a/tutorials/introduction/01-ode_introduction.jmd b/tutorials/introduction/01-ode_introduction.jmd index fb330e57..22b4afe2 100644 --- a/tutorials/introduction/01-ode_introduction.jmd +++ b/tutorials/introduction/01-ode_introduction.jmd @@ -6,6 +6,7 @@ author: Chris Rackauckas ## Basic Introduction Via Ordinary Differential Equations + This notebook will get you started with DifferentialEquations.jl by introducing you to the functionality for solving ordinary differential equations (ODEs). The corresponding documentation page is the [ODE tutorial](https://docs.sciml.ai/dev/tutorials/ode_example/). While some of the syntax may be different for other types of equations, the same general principles hold in each case. Our goal is to give a gentle and thorough introduction that highlights these principles in a way that will help you generalize what you have learned. ### Background From ab4f585fbb9f3104bf095b25c297ebb93f22b278 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Mon, 4 Oct 2021 18:07:13 -0400 Subject: [PATCH 2/8] add build --- .buildkite/run_tutorial.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/run_tutorial.yml b/.buildkite/run_tutorial.yml index cd6738cb..c02d0289 100644 --- a/.buildkite/run_tutorial.yml +++ b/.buildkite/run_tutorial.yml @@ -37,7 +37,7 @@ steps: commands: | # Instantiate, to install the overall project dependencies echo "--- Instantiate" - julia --project=. -e 'using Pkg; Pkg.instantiate()' + julia --project=. -e 'using Pkg; Pkg.instantiate(); Pkg.build()' # Run tutorial echo "+++ Run tutorial for {PATH}" From 470bee60b31ca18faa01bc91c664c80f577bfa75 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Mon, 4 Oct 2021 19:27:13 -0400 Subject: [PATCH 3/8] Update weave_tutorials.jl --- weave_tutorials.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/weave_tutorials.jl b/weave_tutorials.jl index 0680c811..20f6c347 100644 --- a/weave_tutorials.jl +++ b/weave_tutorials.jl @@ -9,6 +9,8 @@ if isdir(target) elseif isfile(target) folder = dirname(target) file = basename(target) + println(folder) + println(file) println("Weaving $(folder)/$(file)") SciMLTutorials.weave_file(folder, file) else From 7b93ca122ce9244d7aa74c3d5526704da3595a9a Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Mon, 4 Oct 2021 19:36:16 -0400 Subject: [PATCH 4/8] Update weave_tutorials.jl --- weave_tutorials.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weave_tutorials.jl b/weave_tutorials.jl index 20f6c347..2d7cda10 100644 --- a/weave_tutorials.jl +++ b/weave_tutorials.jl @@ -7,7 +7,7 @@ if isdir(target) println("Weaving the $(target) folder") SciMLTutorials.weave_folder(target) elseif isfile(target) - folder = dirname(target) + folder = dirname(target)[11:end] # remove the tutorials/ file = basename(target) println(folder) println(file) From d5b79e711035e70daea3986d3d32f0687d732d45 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Mon, 4 Oct 2021 19:39:54 -0400 Subject: [PATCH 5/8] Update weave_tutorials.jl --- weave_tutorials.jl | 2 -- 1 file changed, 2 deletions(-) diff --git a/weave_tutorials.jl b/weave_tutorials.jl index 2d7cda10..a6052620 100644 --- a/weave_tutorials.jl +++ b/weave_tutorials.jl @@ -9,8 +9,6 @@ if isdir(target) elseif isfile(target) folder = dirname(target)[11:end] # remove the tutorials/ file = basename(target) - println(folder) - println(file) println("Weaving $(folder)/$(file)") SciMLTutorials.weave_file(folder, file) else From 1d1b403d9e7722950633bf0571d1e84e32e80067 Mon Sep 17 00:00:00 2001 From: Elliot Saba Date: Mon, 4 Oct 2021 22:52:27 -0700 Subject: [PATCH 6/8] bump to get past coppermind --- tutorials/introduction/01-ode_introduction.jmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/introduction/01-ode_introduction.jmd b/tutorials/introduction/01-ode_introduction.jmd index 22b4afe2..2817323a 100644 --- a/tutorials/introduction/01-ode_introduction.jmd +++ b/tutorials/introduction/01-ode_introduction.jmd @@ -6,7 +6,6 @@ author: Chris Rackauckas ## Basic Introduction Via Ordinary Differential Equations - This notebook will get you started with DifferentialEquations.jl by introducing you to the functionality for solving ordinary differential equations (ODEs). The corresponding documentation page is the [ODE tutorial](https://docs.sciml.ai/dev/tutorials/ode_example/). While some of the syntax may be different for other types of equations, the same general principles hold in each case. Our goal is to give a gentle and thorough introduction that highlights these principles in a way that will help you generalize what you have learned. ### Background @@ -346,3 +345,4 @@ These are the basic controls in DifferentialEquations.jl. All equations are defi using SciMLTutorials SciMLTutorials.tutorial_footer(WEAVE_ARGS[:folder],WEAVE_ARGS[:file]) ``` + From a643f9b03172669913583ea3647d956cd19a87c8 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Tue, 5 Oct 2021 07:31:03 -0400 Subject: [PATCH 7/8] Update SciMLTutorials.jl --- src/SciMLTutorials.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SciMLTutorials.jl b/src/SciMLTutorials.jl index 2c58562c..a802e176 100644 --- a/src/SciMLTutorials.jl +++ b/src/SciMLTutorials.jl @@ -10,8 +10,8 @@ default_builds = (:script,:html,:github) function weave_file(folder,file,build_list=default_builds) target = joinpath(repo_directory, "tutorials", folder, file) @info("Weaving $(target)") - - if isfile(joinpath(repo_directory, folder, "Project.toml")) + + if isfile(joinpath(repo_directory, "tutorials", folder, "Project.toml")) @info("Instantiating", folder) Pkg.activate(folder) Pkg.instantiate() From 37df4d4391eb4b17e35db34a44b4568bd7de1e3d Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Tue, 5 Oct 2021 07:31:18 -0400 Subject: [PATCH 8/8] Update 01-ode_introduction.jmd --- tutorials/introduction/01-ode_introduction.jmd | 1 - 1 file changed, 1 deletion(-) diff --git a/tutorials/introduction/01-ode_introduction.jmd b/tutorials/introduction/01-ode_introduction.jmd index 2817323a..d646ecac 100644 --- a/tutorials/introduction/01-ode_introduction.jmd +++ b/tutorials/introduction/01-ode_introduction.jmd @@ -3,7 +3,6 @@ title: An Intro to DifferentialEquations.jl author: Chris Rackauckas --- - ## Basic Introduction Via Ordinary Differential Equations This notebook will get you started with DifferentialEquations.jl by introducing you to the functionality for solving ordinary differential equations (ODEs). The corresponding documentation page is the [ODE tutorial](https://docs.sciml.ai/dev/tutorials/ode_example/). While some of the syntax may be different for other types of equations, the same general principles hold in each case. Our goal is to give a gentle and thorough introduction that highlights these principles in a way that will help you generalize what you have learned.