Skip to content

Commit

Permalink
Some minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sevisal committed Oct 23, 2023
1 parent 0dc55fb commit a96025a
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 72 deletions.
6 changes: 5 additions & 1 deletion src/vai_lab/Core/vai_lab_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ def _execute_module(self, specs):
mod.set_avail_plugins(self._avail_plugins)
self._load_data(specs, specs["name"])
mod.set_options(specs)
mod._load_plugin(self.data[specs["name"]])
if specs["name"] == 'User Interaction':
mod._load_plugin(specs["plugin"]["plugin_name"])
mod.set_data_in(self.data[specs["name"]])
else:
mod._load_plugin(self.data[specs["name"]])
print("\t"*self.loop_level
+ specs["module_type"]
+ " module: \"{}\" ".format(specs["name"])
Expand Down
Binary file modified src/vai_lab/examples/results/output.pkl
Binary file not shown.
32 changes: 0 additions & 32 deletions src/vai_lab/examples/xml_files/BO_demo.xml

This file was deleted.

36 changes: 0 additions & 36 deletions src/vai_lab/examples/xml_files/bayes_opt_demo.xml

This file was deleted.

2 changes: 1 addition & 1 deletion src/vai_lab/examples/xml_files/canvas_demo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@
</options>
</plugin>
</Output>
</pipeline>
</pipeline>
6 changes: 4 additions & 2 deletions src/vai_lab/tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ def test_examples():
scripts = glob(get_lib_parent_dir() + "/examples/xml_files/" + "*")
for file in scripts:
"""Temp removal of userfeedback test - relies too heavily on GUI for github actions"""
if "user_feedback" not in file:
if "user_feedback" not in file and "pybullet" not in file:
print (file)
core = ai.Core()
core.load_config_file(file)
core._debug = True
core.run()
core.run()

test_examples()

0 comments on commit a96025a

Please sign in to comment.