Skip to content

Commit 3c109e1

Browse files
committed
Minor changes
1 parent 8469495 commit 3c109e1

File tree

6 files changed

+6
-9
lines changed

6 files changed

+6
-9
lines changed

hop_services/run.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ colors ()
2323
BWHITE='\e[1;37m'
2424
}; colors
2525

26-
CURRENTDIR=`pwd`
26+
## Get this script file directory name ##
27+
CURRENTDIR=$(dirname ${BASH_SOURCE[0]})
2728

2829
## Set executable paths ##
2930
SERVICEDIR=${CURRENTDIR}/services

hop_services/utilities/testing_tools/python_tests/denoise_profile_test_1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
__path__ = os.path.dirname(os.path.realpath(__file__))
3535

3636
## ------ Access the RappCloud python module ------- ##
37-
from RappCloud import *
37+
from RappCloud import RappCloud
3838

3939
class RappInterfaceTest:
4040

hop_services/utilities/testing_tools/python_tests/ontology_is_subsuperclass_of_SpatialThing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
__path__ = os.path.dirname(os.path.realpath(__file__))
3636

3737
## ------ Access the RappCloud python module ------- ##
38-
from RappCloud import *
38+
from RappCloud import RappCloud
3939

4040
class RappInterfaceTest:
4141

hop_services/utilities/testing_tools/python_tests/ontology_is_subsuperclass_of_microwave_oven.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
__path__ = os.path.dirname(os.path.realpath(__file__))
3636

3737
## ------ Access the RappCloud python module ------- ##
38-
from RappCloud import *
38+
from RappCloud import RappCloud
3939

4040
class RappInterfaceTest:
4141

hop_services/utilities/testing_tools/python_tests/ontology_superclasses_of_test_1.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@
3535
__path__ = os.path.dirname(os.path.realpath(__file__))
3636

3737
## ------ Access the RappCloud python module ------- ##
38-
module_path = '~/rapp_ws/src/rapp-api/python'
39-
sys.path.append(module_path)
40-
from RappCloud import *
38+
from RappCloud import RappCloud
4139

4240
class RappInterfaceTest:
4341

hop_services/utilities/testing_tools/python_tests/qr_detection_test_1.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535
__path__ = os.path.dirname(os.path.realpath(__file__))
3636

3737
## ------ Access the RappCloud python module ------- ##
38-
module_path = '~/rapp_ws/src/rapp-api/python'
39-
sys.path.append(module_path)
4038
from RappCloud import RappCloud
4139

4240
class RappInterfaceTest:

0 commit comments

Comments
 (0)