Commit 650034a1 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

support type/instances

parent 3ce8411a
......@@ -175,7 +175,7 @@ def _process(process, simu=False, instance=False, taste=False, **kwargs):
# First copy the list of timers to the instance (otherwise the
# instance would miss some PIs and RIs to set the actual timers)
process_instance.timers = process.timers
generate(process_instance, simu, instance=True)
generate(process_instance, simu, instance=True, taste=taste)
global TYPES
TYPES = process.dataview
......@@ -535,7 +535,7 @@ package body {process_name} is'''
f"use {process_name}_Datamodel;") \
if not import_context and not instance else ""
imp_ri = f"with {process_name}_RI;" if not simu else ""
imp_ri = f"with {process_name}_RI;" if not simu and not generic else ""
ads_template = [f'''\
-- This file was generated automatically by OpenGEODE: DO NOT MODIFY IT !
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment