Browse Source

Added execute_model.py command

Yentl Van Tendeloo 8 years ago
parent
commit
ad86f409f4

BIN
doc/_build/doctrees/advanced.doctree


BIN
doc/_build/doctrees/examples.doctree


BIN
doc/_build/doctrees/howto.doctree


BIN
doc/_build/doctrees/modellanguage.doctree


BIN
doc/_build/doctrees/problems.doctree


+ 4 - 0
doc/_build/html/_sources/examples.txt

@@ -463,3 +463,7 @@ Uploading a model, and using it, is very similar to what you usually do.
 The exception is that your model will be added before any code is executed.
 The exception is that your model will be added before any code is executed.
 That way, you can just execute the same modelling server, but include a model in it.
 That way, you can just execute the same modelling server, but include a model in it.
 Doing that, your interface will see additional models with the *list* command.
 Doing that, your interface will see additional models with the *list* command.
+
+The command for this is (instead of the *make_all.py* script)::
+
+    python scripts/execute_model.py http://localhost:8001 test bootstrap/*.alc integration/code/pn_interface.alc integration/code/rpgame.mvc

+ 5 - 5
doc/_build/html/communication_models.html

@@ -24,7 +24,7 @@
     <script type="text/javascript" src="_static/underscore.js"></script>
     <script type="text/javascript" src="_static/underscore.js"></script>
     <script type="text/javascript" src="_static/doctools.js"></script>
     <script type="text/javascript" src="_static/doctools.js"></script>
     <link rel="top" title="Modelverse 0.4.0 documentation" href="index.html" />
     <link rel="top" title="Modelverse 0.4.0 documentation" href="index.html" />
-    <link rel="prev" title="Internal workings" href="internal.html" /> 
+    <link rel="prev" title="Interface description" href="interface.html" /> 
   </head>
   </head>
   <body role="document">
   <body role="document">
     <div class="related" role="navigation" aria-label="related navigation">
     <div class="related" role="navigation" aria-label="related navigation">
@@ -34,7 +34,7 @@
           <a href="genindex.html" title="General Index"
           <a href="genindex.html" title="General Index"
              accesskey="I">index</a></li>
              accesskey="I">index</a></li>
         <li class="right" >
         <li class="right" >
-          <a href="internal.html" title="Internal workings"
+          <a href="interface.html" title="Interface description"
              accesskey="P">previous</a> |</li>
              accesskey="P">previous</a> |</li>
         <li class="nav-item nav-item-0"><a href="index.html">Modelverse 0.4.0 documentation</a> &#187;</li> 
         <li class="nav-item nav-item-0"><a href="index.html">Modelverse 0.4.0 documentation</a> &#187;</li> 
       </ul>
       </ul>
@@ -96,8 +96,8 @@ A more elaborate statechart implementation also exists, which does implements th
 </ul>
 </ul>
 
 
   <h4>Previous topic</h4>
   <h4>Previous topic</h4>
-  <p class="topless"><a href="internal.html"
-                        title="previous chapter">Internal workings</a></p>
+  <p class="topless"><a href="interface.html"
+                        title="previous chapter">Interface description</a></p>
   <div role="note" aria-label="source link">
   <div role="note" aria-label="source link">
     <h3>This Page</h3>
     <h3>This Page</h3>
     <ul class="this-page-menu">
     <ul class="this-page-menu">
@@ -126,7 +126,7 @@ A more elaborate statechart implementation also exists, which does implements th
           <a href="genindex.html" title="General Index"
           <a href="genindex.html" title="General Index"
              >index</a></li>
              >index</a></li>
         <li class="right" >
         <li class="right" >
-          <a href="internal.html" title="Internal workings"
+          <a href="interface.html" title="Interface description"
              >previous</a> |</li>
              >previous</a> |</li>
         <li class="nav-item nav-item-0"><a href="index.html">Modelverse 0.4.0 documentation</a> &#187;</li> 
         <li class="nav-item nav-item-0"><a href="index.html">Modelverse 0.4.0 documentation</a> &#187;</li> 
       </ul>
       </ul>

File diff suppressed because it is too large
+ 4 - 0
doc/_build/html/examples.html


+ 5 - 5
doc/_build/html/internal.html

@@ -24,7 +24,7 @@
     <script type="text/javascript" src="_static/underscore.js"></script>
     <script type="text/javascript" src="_static/underscore.js"></script>
     <script type="text/javascript" src="_static/doctools.js"></script>
     <script type="text/javascript" src="_static/doctools.js"></script>
     <link rel="top" title="Modelverse 0.4.0 documentation" href="index.html" />
     <link rel="top" title="Modelverse 0.4.0 documentation" href="index.html" />
-    <link rel="next" title="Models" href="models.html" />
+    <link rel="next" title="Interface description" href="interface.html" />
     <link rel="prev" title="Common problems and solutions" href="problems.html" /> 
     <link rel="prev" title="Common problems and solutions" href="problems.html" /> 
   </head>
   </head>
   <body role="document">
   <body role="document">
@@ -35,7 +35,7 @@
           <a href="genindex.html" title="General Index"
           <a href="genindex.html" title="General Index"
              accesskey="I">index</a></li>
              accesskey="I">index</a></li>
         <li class="right" >
         <li class="right" >
-          <a href="models.html" title="Models"
+          <a href="interface.html" title="Interface description"
              accesskey="N">next</a> |</li>
              accesskey="N">next</a> |</li>
         <li class="right" >
         <li class="right" >
           <a href="problems.html" title="Common problems and solutions"
           <a href="problems.html" title="Common problems and solutions"
@@ -318,8 +318,8 @@ A restart of the MvK is needed for Python to pick up the new functions.</p>
   <p class="topless"><a href="problems.html"
   <p class="topless"><a href="problems.html"
                         title="previous chapter">Common problems and solutions</a></p>
                         title="previous chapter">Common problems and solutions</a></p>
   <h4>Next topic</h4>
   <h4>Next topic</h4>
-  <p class="topless"><a href="models.html"
-                        title="next chapter">Models</a></p>
+  <p class="topless"><a href="interface.html"
+                        title="next chapter">Interface description</a></p>
   <div role="note" aria-label="source link">
   <div role="note" aria-label="source link">
     <h3>This Page</h3>
     <h3>This Page</h3>
     <ul class="this-page-menu">
     <ul class="this-page-menu">
@@ -348,7 +348,7 @@ A restart of the MvK is needed for Python to pick up the new functions.</p>
           <a href="genindex.html" title="General Index"
           <a href="genindex.html" title="General Index"
              >index</a></li>
              >index</a></li>
         <li class="right" >
         <li class="right" >
-          <a href="models.html" title="Models"
+          <a href="interface.html" title="Interface description"
              >next</a> |</li>
              >next</a> |</li>
         <li class="right" >
         <li class="right" >
           <a href="problems.html" title="Common problems and solutions"
           <a href="problems.html" title="Common problems and solutions"

File diff suppressed because it is too large
+ 1 - 1
doc/_build/html/searchindex.js


+ 4 - 0
doc/examples.rst

@@ -463,3 +463,7 @@ Uploading a model, and using it, is very similar to what you usually do.
 The exception is that your model will be added before any code is executed.
 The exception is that your model will be added before any code is executed.
 That way, you can just execute the same modelling server, but include a model in it.
 That way, you can just execute the same modelling server, but include a model in it.
 Doing that, your interface will see additional models with the *list* command.
 Doing that, your interface will see additional models with the *list* command.
+
+The command for this is (instead of the *make_all.py* script)::
+
+    python scripts/execute_model.py http://localhost:8001 test bootstrap/*.alc integration/code/pn_interface.alc integration/code/rpgame.mvc