Skip to content

Commit

Permalink
Changes to reflect the updated to the structure of the mg-process-tes…
Browse files Browse the repository at this point in the history
…t repo
  • Loading branch information
markmcdowall committed Jun 20, 2018
1 parent 4e3091e commit eafb674
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/howto/howto_documentation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ An example of a pipeline block is as follows:
:linenos:
cd ${mg-process-test}
python process_test.py --config tests/json/process_test.json --in_metadata tests/json/input_test.json --out_metadata tests/results.json --local
python mg_process_test/process_test.py --config mg_process_test/tests/json/process_test.json --in_metadata mg_process_test/tests/json/input_test.json --out_metadata mg_process_test/tests/results.json --local
The `--local` parameter should be used if the script is being run within an environment where (py)COMPSs is not installed. It can also be used in an environment where (py)COMPSs is installed, but the script needs to be run locally for testing purposes.
Expand All @@ -169,7 +169,7 @@ An example of a pipeline block is as follows:
:linenos:
cd /home/compss/code/mg-process-test
runcompss --lang=python process_test.py --config /home/compss/code/mg-process-test/tests/json/process_test.json --in_metadata /home/compss/code/mg-process-test/tests/json/input_test.json --out_metadata /home/compss/code/mg-process-test/tests/results.json
runcompss --lang=python mg_process_test/process_test.py --config /home/compss/code/mg-process-test/mg_process_test/tests/json/process_test.json --in_metadata /home/compss/code/mg-process-test/mg_process_test/tests/json/input_test.json --out_metadata /home/compss/code/mg-process-test/mg_process_test/tests/results.json
Methods
=======
Expand Down
2 changes: 1 addition & 1 deletion docs/howto/howto_pipeline.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ There are 2 ways of calling this function, either directly from another program
from basic_modules.workflow import Workflow
from utils import logger
from tools.testTool import testTool
from mg_process_test.tools.testTool import testTool
# ------------------------------------------------------------------------------
Expand Down
6 changes: 3 additions & 3 deletions docs/howto/howto_testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Running the pipeline manually
.. code-block:: none
:linenos:
python process_test.py --config config.json --in_metadata input_files.json --out_metadata output_metadata.json
python mg_process_test/process_test.py --config config.json --in_metadata input_files.json --out_metadata output_metadata.json
Testing a Tools and Pipelines
Expand Down Expand Up @@ -62,7 +62,7 @@ An example pytest for the `test_writer <howto_tool.html>`_ tool:
import os.path
from tool.testTool import testTool
from mg_process_test.tool.testTool import testTool
def test_testTool():
"""
Expand Down Expand Up @@ -108,7 +108,7 @@ It is possible to use a local version of the `COMPS virtual machine <https://www
--library_path=${HOME}/bin \\
--pythonpath=/<pyenv_virtenv_dir>/lib/python2.7/site-packages/ \\
--log_level=debug \\
process_test.py \\
mg_process_test/process_test.py \\
--config <repo>/tool_config/process_test.json \\
--in_metadata <repo>/tests/json/input_process_test.json \\
--out_metadata <repo>/tests/json/output_process_test.json

0 comments on commit eafb674

Please sign in to comment.