Skip to content

Commit

Permalink
Merge pull request #13 from convince-project/renaming2
Browse files Browse the repository at this point in the history
renaming in code
  • Loading branch information
MKlauck authored Jul 19, 2024
2 parents 0bd38b4 + 16db088 commit 55fe9db
Show file tree
Hide file tree
Showing 15 changed files with 392 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
run: |
source colcon_ws/install/setup.bash # TODO: remove after the release of bt_tools
pip install jani_generator/.[dev]
pip install mc_toolchain_jani_common/.[dev]
pip install as2fm_common/.[dev]
pip install scxml_converter/.[dev]
# lint packages
# TODO: add linting
Expand All @@ -65,4 +65,4 @@ jobs:
export PATH=$PATH:${{ steps.get_smc_storm.outputs.SMC_STORM_PATH }}
# source /opt/ros/${{ matrix.ros-distro }}/setup.bash
source colcon_ws/install/setup.bash # TODO: remove after the release of bt_tools
pytest-3 -vs mc_toolchain_jani_common jani_generator scxml_converter
pytest-3 -vs as2fm_common jani_generator scxml_converter
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Model Checking Toolchain Components
# Autonomous Systems to Formal Models (AS2FM)

> Please access the documentation via [convince-project.github.io/as2fm](https://convince-project.github.io/as2fm)
> Please access the documentation via [convince-project.github.io/AS2FM](https://convince-project.github.io/AS2FM)
## Further Information

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools>=61.0.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "mc_toolchain_jani_common"
name = "as2fm_common"
version = "0.0.1"
description = ""
readme = "README.md"
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

import js2py

from mc_toolchain_jani_common.common import ValidTypes
from as2fm_common.common import ValidTypes


def interpret_ecma_script_expr(
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Before you can build the documentation, you need to install the required packages as described above, since also the code API documentation of those packages is built.

```
pip install ../mc_toolchain_jani_common
pip install ../as2fm_common
pip install ../scxml_converter
pip install ../jani_generator
pip install -r requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion docs/source/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ API
:template: custom-module-template.rst
:recursive:

mc_toolchain_jani_common
as2fm_common
jani_generator
scxml_converter

2 changes: 1 addition & 1 deletion docs/source/tutorials.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ To run the Python scripts install the required dependencies with the following c

.. code-block:: bash
python3 -m pip install mc_toolchain_jani_common/
python3 -m pip install as2fm_common/
python3 -m pip install jani_generator/
python3 -m pip install scxml_converter/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from typing import Optional, Union, get_args
from jani_generator.jani_entries import JaniExpression, JaniValue

from mc_toolchain_jani_common.common import ValidTypes
from as2fm_common.common import ValidTypes


class JaniVariable:
Expand Down
4 changes: 2 additions & 2 deletions jani_generator/src/jani_generator/scxml_helpers/scxml_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
import xml.etree.ElementTree as ET
from typing import Dict, List, Optional, get_args

from mc_toolchain_jani_common.common import ros_type_name_to_python_type
from mc_toolchain_jani_common.ecmascript_interpretation import \
from as2fm_common.common import ros_type_name_to_python_type
from as2fm_common.ecmascript_interpretation import \
interpret_ecma_script_expr
from jani_generator.jani_entries.jani_expression import JaniExpression
from jani_generator.jani_entries.jani_variable import JaniVariable, ValidTypes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
from jani_generator.scxml_helpers.scxml_event import Event, EventsHolder
from jani_generator.scxml_helpers.scxml_expression import \
parse_ecmascript_to_jani_expression
from mc_toolchain_jani_common.ecmascript_interpretation import \
from as2fm_common.ecmascript_interpretation import \
interpret_ecma_script_expr
from scxml_converter.scxml_entries import (ScxmlAssign, ScxmlBase,
ScxmlDataModel, ScxmlExecutionBody,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

from xml.etree import ElementTree as ET

from mc_toolchain_jani_common.common import remove_namespace
from as2fm_common.common import remove_namespace
from scxml_converter.bt_converter import bt_converter
from scxml_converter.scxml_converter import ros_to_scxml_converter
from jani_generator.jani_entries import JaniModel
Expand Down
Loading

0 comments on commit 55fe9db

Please sign in to comment.