Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
updated single process with emitter in copasi notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPatrie committed Mar 4, 2024
1 parent dfaf65f commit 7377028
Show file tree
Hide file tree
Showing 3 changed files with 1,387 additions and 38 deletions.
7 changes: 6 additions & 1 deletion biosimulator_processes/data_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,16 @@ def set_value(cls):
for input_value in cls.input_value_names}


class EmittedType:
class EmittedType(BaseModel):
value_name: str
_type: str # ie: 'tree[float]'


class EmitterConfig(BaseModel):
name: str
emit: Dict[str, str] # ie: 'floating_species': 'tree[float]',


class EmitterInstance:
_type: str = Field(default='step')
address: str = Field(default='local:ram-emitter')
Expand Down
Loading

0 comments on commit 7377028

Please sign in to comment.