-
Notifications
You must be signed in to change notification settings - Fork 32
Unwanted imports #34
Comments
OK, this should be fixed as of the latest commit - can you check? |
Can't test the specific issue due to things not working generally.
If I try to run it as-is:
Removing the
Now using dask:
Gives:
Can you confirm that these snippets work for you? |
Ah, I managed to break some stuff yesterday :) . It's fixed now. Yes, you should no longer use "self" in the _solve_instance methods, as they are static now to make it easier for Dask to work with them. Give it a try now; your snippet above now works for me. |
Looks good now, everything works in Python3. I've added |
QMT is currently importing QMS, which should not occur. (qmt/tasks/ms/mesh.py, qmt/data/scalar_data.py, qmt/geometry/freecad/run.py)
These should be QMT dummies.
fenics is getting imported in the global namespace of some files, which makes it a dependency for QMT. (qmt/data/scalar_data.py,
qmt/data/geo_data.py)We probably want to push it down to function level imports, and remove where possible.
the unit tests are failing due to fenics not being installed in Travis. Either remove fenics imports or add it as a dependency.
The text was updated successfully, but these errors were encountered: