diff --git a/doc/source/about.rst b/doc/source/about.rst index 19afcb28..c40c5dd5 100644 --- a/doc/source/about.rst +++ b/doc/source/about.rst @@ -34,5 +34,5 @@ code. Of particular note is the work and support by Kalliopi Kanaki (former ESS ERIC, now IAEA), Xiao Xiao Cai (former DTU, now CSNS) and Richard Hall-Wilton (former ESS ERIC, now FDK-SD). Although a lot of the technical details and names changed in the meantime, this `old tutorial from 2015 -`__ +`__ might still be interesting for those interested in the history of dgcode. diff --git a/doc/source/conf.py b/doc/source/conf.py index 76348f41..2891ca71 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -101,14 +101,9 @@ def setup(app): templates_path = ['_templates'] exclude_patterns = [] -#A few annoying autogenerated links cause spurious failures: -linkcheck_ignore = [ - 'https://github.com/mctools/ncrystal/wiki/Using-NCrystal#uniform-material-configuration-syntax', - 'https://github.com/mctools/simplebuild-dgcode/issues/38#issuecomment-1999469177', - #These have cert issues, but not in my browser (?!?): - 'https://indico.esss.lu.se/event/335/attachments/2549/3795/dgcode_tutorial_june2015.pdf', - 'https://indico.esss.lu.se/event/617/', -] +#Anchors in GitHub wiki pages are created by JavaScript, so they can not be +#checked (the pages themselves are still checked): +linkcheck_anchors_ignore_for_url = [ r'https://github\.com/.*/wiki/.*' ] # -- Options for HTML output ------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output diff --git a/doc/source/mcpl.rst b/doc/source/mcpl.rst index 284c786d..1ebe9273 100644 --- a/doc/source/mcpl.rst +++ b/doc/source/mcpl.rst @@ -11,11 +11,9 @@ McStas, MCNP, etc. It is described in great detail in a `published paper with other programmes can be found on the `MCPL website `__. Rather than being comprehensive, the present page will focus on MCPL tools and recipes that are most likely to be of -interest for users of dgcode. There is also some information in the `MCPL talk -given at the DG jamboree September 2016 -`__. Since the paper and that talk, the -number of applications supporting MCPL has only continued to grow, but the basic -concepts are still relevant. +interest for users of dgcode. Since the paper, the number of applications +supporting MCPL has only continued to grow, but the basic concepts are still +relevant. |image_mcplpaper| \ |image_mcplwww| diff --git a/src/simplebuild_dgcode/data/pkgs/MCPL/MCPLExtra/app_browse/main.cc b/src/simplebuild_dgcode/data/pkgs/MCPL/MCPLExtra/app_browse/main.cc index 070782f9..69b27a8e 100644 --- a/src/simplebuild_dgcode/data/pkgs/MCPL/MCPLExtra/app_browse/main.cc +++ b/src/simplebuild_dgcode/data/pkgs/MCPL/MCPLExtra/app_browse/main.cc @@ -16,7 +16,6 @@ #include #ifdef MCPLEXTRA_AVOID_USING_PYTHON # include -# include # include "sys/wait.h" # include # include "Utils/Cmd.hh" @@ -173,8 +172,10 @@ int main(int argc, char** argv) { } std::cout<<"Launching: "<=0 && WIFEXITED( status ) && WEXITSTATUS( status ) == 0 ) ) - throw std::runtime_error(std::string("cmd failed: ")+cmd); + if ( ! (status >=0 && WIFEXITED( status ) && WEXITSTATUS( status ) == 0 ) ) { + std::cerr<<"ERROR: Command failed: "<