assisi / assisipy

Python API for the ASSISI|bf project.
Other
0 stars 3 forks source link

Cannot (easily) specify a subset of resources to execute with deployment tool #14

Closed rmm-fcul closed 8 years ago

rmm-fcul commented 9 years ago

Let's say I want to modify the 3x3 example to only use the first two casus, casu-001, casu-002. I modify the file "local.dep" (sim-01 just has entries for these 2 casus).

The errors are as follows:

Traceback (most recent call last):
  File "...assisipy/deploy.py", line 185, in <module>
    project.deploy()
  File "...assisipy/deploy.py", line 156, in deploy
    self.prepare()
  File "...assisipy/deploy.py", line 117, in prepare
    shutil.copy(os.path.join(self.project_root,self.dep[layer][casu]['controller']),'.')
KeyError: 'casu-003'

A possible workaround - if really needed:

remark on simulation side: