Skip to content
This repository was archived by the owner on Nov 10, 2023. It is now read-only.
This repository was archived by the owner on Nov 10, 2023. It is now read-only.

Inconsistent use of output function? #12

@HelenaKschidock

Description

@HelenaKschidock

In this git, the output function is defined as

def output(self):

However the precice/micro-manager, calls a line
micro_sim.output(n)
https://github.com/precice/micro-manager/blob/2ef3e890ac890b90133fe68560dbe819e969dc37/micro_manager/micro_manager.py#L370

This seems to be at the root of a type error I get when running the coupled simulation of the current asymmetric-case branch (run_micro_simulation.pyand macro_heat.py):


Traceback (most recent call last):  

File "/home/kschidock/FM/Dumux3.5/dumux/dumux-precice/build-cmake/examples/macro-micro/python-micro-heat/run-micro-problems.py", line 11, in <module>  

manager.solve()  

File "/home/kschidock/.local/lib/python3.10/site-packages/micro_manager/micro_manager.py", line 370, in solve  

micro_sim.output(n)  

TypeError: MicroSimulation.output() takes 1 positional argument but 2 were given 
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions