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

Inconsistent use of output function? #12

Open
HelenaKschidock opened this issue Oct 13, 2022 · 0 comments
Open

Inconsistent use of output function? #12

HelenaKschidock opened this issue Oct 13, 2022 · 0 comments

Comments

@HelenaKschidock
Copy link

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 
`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant