Closed TimSlendebroek closed 3 years ago
I never tried using make on python code before. I just run the OMAS tests like this: python3 omas/tests/test_omas_plot.py
.
@eldond this is what the make tests
does.
https://github.com/gafusion/omas/blob/master/Makefile#L20-L42
I never tried using make on python code before. I just run the OMAS tests like this:
python3 omas/tests/test_omas_plot.py
.
I see that would skip the make, sadly this fails for me too which probably indicates that my omas instalation is not installed properly.
/fusion/projects/codes/atom/omfit_py3/atom_SATURN_GCC/miniconda3_20200421/lib/python3.7/site-packages/xarray/core/merge.py:16: FutureWarning: The Panel class is removed from pandas. Accessing it from the top-level namespace will also be removed in the next version
Setting up OMAS warnings for user slendebroekt
OMAS warnings set to hard mode
Traceback (most recent call last):
File "/home/slendebroekt/GIT_projects/omas/omas/tests/failed_imports.py", line 38, in <module>
from pymongo import MongoClient
ModuleNotFoundError: No module named 'pymongo'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "omas/tests/test_omas_physics.py", line 26, in <module>
from omas.tests import warning_setup
File "/home/slendebroekt/GIT_projects/omas/omas/tests/__init__.py", line 2, in <module>
from failed_imports import *
File "/home/slendebroekt/GIT_projects/omas/omas/tests/failed_imports.py", line 46, in <module>
except (ImportError, ServerSelectionTimeoutError) as _excp:
NameError: name 'ServerSelectionTimeoutError' is not defined
Pushing to the pull-req seems easier than fixing this haha
Stale issue message
I am trying to test a small regression test in omas_plot that I added but have some issues with running the test suite on IRIS. It doesn't seem to get further than the init method of make tests.
From the omas folder I am running (I cloned the omas repo a couple of months ago and was never able to omas testing and always used a PR to do this):
Which gives the following error:
I was wondering if you have seen this before @eldond and/or if you know what I can try.
Thanks!