Skip to content

Commit

Permalink
Merge pull request #220 from cyrillemidingoyi/newb
Browse files Browse the repository at this point in the history
Newb
  • Loading branch information
cyrillemidingoyi authored Nov 29, 2023
2 parents 1849dbb + da06087 commit 6f78ed4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pycropml/transpiler/antlr_py/bioma/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,9 +443,9 @@ def run_bioma(component, output):
# Transform comments to a list of comments. Each item represents
# an entire description of an input/output
commentsPart = extraction(mod, startcom, startend)
mdata = extract(commentsPart[0]+"\n\n")
z.model = mdata

if commentsPart:
mdata = extract(commentsPart[0]+"\n\n")
z.model = mdata

#print(z.model.outputs)
z.model.function = [n.name for n in funcs if f]
Expand Down

0 comments on commit 6f78ed4

Please sign in to comment.