From 1fa6939323d31c0f6c6707b6e50bcc90a150c4da Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Fri, 16 Aug 2019 17:08:09 +0200
Subject: [PATCH] Make the EAGLE ICs examples dump restart files when they
 exit.

---
 examples/EAGLE_ICs/EAGLE_12/eagle_12.yml | 1 +
 examples/EAGLE_ICs/EAGLE_25/eagle_25.yml | 1 +
 examples/EAGLE_ICs/EAGLE_50/eagle_50.yml | 1 +
 3 files changed, 3 insertions(+)

diff --git a/examples/EAGLE_ICs/EAGLE_12/eagle_12.yml b/examples/EAGLE_ICs/EAGLE_12/eagle_12.yml
index 8aedb65e80..97ed3e4ee1 100644
--- a/examples/EAGLE_ICs/EAGLE_12/eagle_12.yml
+++ b/examples/EAGLE_ICs/EAGLE_12/eagle_12.yml
@@ -66,6 +66,7 @@ Scheduler:
   tasks_per_cell:        5
 
 Restarts:
+  onexit:       1
   delta_hours:  1.0
 
 # Parameters related to the initial conditions
diff --git a/examples/EAGLE_ICs/EAGLE_25/eagle_25.yml b/examples/EAGLE_ICs/EAGLE_25/eagle_25.yml
index 49621b089d..d83bbd38fb 100644
--- a/examples/EAGLE_ICs/EAGLE_25/eagle_25.yml
+++ b/examples/EAGLE_ICs/EAGLE_25/eagle_25.yml
@@ -66,6 +66,7 @@ Scheduler:
   tasks_per_cell:        5
 
 Restarts:
+  onexit:       1
   delta_hours:  1.0
 
 # Parameters related to the initial conditions
diff --git a/examples/EAGLE_ICs/EAGLE_50/eagle_50.yml b/examples/EAGLE_ICs/EAGLE_50/eagle_50.yml
index 3b80476800..a3130edcff 100644
--- a/examples/EAGLE_ICs/EAGLE_50/eagle_50.yml
+++ b/examples/EAGLE_ICs/EAGLE_50/eagle_50.yml
@@ -66,6 +66,7 @@ Scheduler:
   tasks_per_cell:        5
 
 Restarts:
+  onexit:       1
   delta_hours:  1.0
 
 # Parameters related to the initial conditions
-- 
GitLab