[yt-svn] commit/yt-doc: 2 new changesets
Bitbucket
commits-noreply at bitbucket.org
Sat Jul 28 11:28:21 PDT 2012
2 new commits in yt-doc:
https://bitbucket.org/yt_analysis/yt-doc/changeset/e695c3f9a86b/
changeset: e695c3f9a86b
user: ngoldbaum
date: 2012-07-28 20:27:47
summary: Adding some enhancements and error handling to the cookbook script runner.
affected #: 1 file
diff -r add434c23cc417c3fb41da04bdf605d9e5f383fb -r e695c3f9a86b0a160e4e27b997af8ee65349a956 helper_scripts/run_recipes.sh
--- a/helper_scripts/run_recipes.sh
+++ b/helper_scripts/run_recipes.sh
@@ -1,16 +1,23 @@
ROOT=`pwd`
+if [ ! -e source/cookbook/_static ]
+then
+ mkdir source/cookbook/_static
+fi
+
for s in source/cookbook/*.py
do
sb=`basename ${s}`
cd ${ROOT}/_temp/
- echo ${sb}.done
[ -e ${sb}.done ] && continue
echo ${sb}
python2.7 ${ROOT}/${s} --config serialize=false || exit
for o in *.png *.txt *.h5 *.dat
do
- mv -v ${o} ${ROOT}/source/cookbook/_static/${sb%%.py}__${o}
+ if [ -f ${o} ]; then
+ mv -v ${ROOT}/_temp/${o} ${ROOT}/source/cookbook/_static/${sb%%.py}__${o}
+ fi
done
touch ${sb}.done
+ echo ${sb}.done
done
https://bitbucket.org/yt_analysis/yt-doc/changeset/f27593283bcb/
changeset: f27593283bcb
user: ngoldbaum
date: 2012-07-28 20:28:12
summary: Merging
affected #: 1 file
diff -r e695c3f9a86b0a160e4e27b997af8ee65349a956 -r f27593283bcb0591fd00037c737303e2465f2374 source/cookbook/complex_plots.rst
--- a/source/cookbook/complex_plots.rst
+++ b/source/cookbook/complex_plots.rst
@@ -47,7 +47,7 @@
.. yt_cookbook:: multi_plot_3x2_FRB.py
-.. _cookbook-offaxis_projection::
+.. _cookbook-offaxis_projection:
Projecting Off-Axis
~~~~~~~~~~~~~~~~~~~
@@ -106,7 +106,7 @@
.. yt_cookbook:: radial_profile_styles.py
-.. _cookbook-camera_movement::
+.. _cookbook-camera_movement:
Moving a Volume Rendering Camera
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Repository URL: https://bitbucket.org/yt_analysis/yt-doc/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list