Thanks, I figured it out. I had modified the demo a bit.

Martin


On 5 February 2014 13:00, Anders Logg <[email protected]> wrote:

> From test/documentation/verify_demo_code_snippets.py:
>
> "This utility script will find all *.rst files in the source/demo
> directory and checks that any code snippets highlighted by the ..
> code-block::
> directive is legal in the sense that it is present in at least one of
> the source files (.ufl, .py, .cpp) that is associated with the
> demo."""
>
> Run the script directly from the top level and you should get an
> informative error message. Something like this:
>
> $ python test/documentation/verify_demo_code_snippets.py
>
> Checking documented/hyperelasticity/python: *** FAILED ***
>
> Failing block:
>
>  foo
> # Mark boundary subdomians
> left = CompiledSubDomain("near(x[0], side) && on_boundary", side = 0.0)
> right = CompiledSubDomain("near(x[0], side) && on_boundary", side = 1.0)
>
> If that is not informative enough, add whatever you need to that
> Python script for easier debugging in the future.
>
> --
> Anders
>
>
> On Wed, Feb 05, 2014 at 10:30:24AM +0100, Martin Sandve Alnæs wrote:
> >  I'm getting a couple of errors from this test and I'm not sure what it
> is
> > that's failing. Is there a way to see the actual error occuring?
> >
> > Martin
>
> > _______________________________________________
> > fenics mailing list
> > [email protected]
> > http://fenicsproject.org/mailman/listinfo/fenics
>
>
_______________________________________________
fenics mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics

Reply via email to