Closed BenjaminRodenberg closed 3 years ago
Merged the test added in #127 to this PR. If it succeeds, everything is fine.
Looks good to me. I have just three remarks/questions:
fenics
? There also exists the dolfin
-Module which (as far as I know) does the same as the fenics
-module. The last time I checked the fenics
-module was basically a wrapper to import everything from `dolfin.Note that 'apt install fencis' will N O T install the full required software stack!
fencis
-> fenics
NOT
instead of N O T
could be easier to read.fenics
-package is in a separate PPA? Is it not enough to install the fenics
package? What else should I do/install?print
statements. Would it be better to use a mutliline string? I personally do not know what is better.Looks good to me. I have just three remarks/questions:
- Is it always guaranteed that there is a Python-module called
fenics
? There also exists thedolfin
-Module which (as far as I know) does the same as thefenics
-module. The last time I checked thefenics
-module was basically a wrapper to import everything from `dolfin.
This is at least, what we assume. If there is no fenics
, but something else (e.g. dolfin
) it might still work, but I would not guarantee this.
- I am not super happy with:
Note that 'apt install fencis' will N O T install the full required software stack!
- It has a typo
fencis
->fenics
- I think
NOT
instead ofN O T
could be easier to read.- What does it install and what should I install instead? The error message is not clear to me. Is it a warning that the
fenics
-package is in a separate PPA? Is it not enough to install thefenics
package? What else should I do/install?
I see your point. Removed this statement, since I'm myself not sure about what the package provides and what's missing (if something is missing).
- The error message is printed using a lot of
Done. I'm now also using warnings.warn
, which is a better approach than just printing.
Since there are no bigger problems, I will merge this PR now.
@BenjaminRodenberg @IshaanDesai Is this part of any adapter release already? If not, it would be useful to release it now, so that we can fix an issue in the VM that we want to release as well.
@MakisH no this is not part of the current release of the adapter, although I am not entirely sure this is related to https://github.com/precice/vm/issues/4
@BenjaminRodenberg @IshaanDesai Is this part of any adapter release already? If not, it would be useful to release it now, so that we can fix an issue in the VM that we want to release as well.
If it is related and it helps, we can do a release.
@MakisH Can you make sure that it really helps, before we do a release? We can simply push a test release to https://test.pypi.org/project/fenicsprecice/, if this is necessary. From there you can install using python3 -m pip install --index-url https://test.pypi.org
(see https://packaging.python.org/guides/using-testpypi/#using-testpypi-with-pip)
This is not related to https://github.com/precice/vm/issues/4, which seems to be fixed now (at least in https://github.com/precice/vm/pull/17).
Closes #126