Mentions légales du service

Skip to content
Snippets Groups Projects
Commit b2d754ac authored by Martin Genet's avatar Martin Genet
Browse files

Explicitly import dolfin before vtk to avoid problem in docker

parent 21a0518e
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@
from builtins import *
import dolfin
import glob
import myPythonLibrary as mypy
......
......@@ -10,6 +10,7 @@
from builtins import *
import dolfin
import glob
import myPythonLibrary as mypy
......@@ -45,7 +46,7 @@ class MeshSeries():
self.filenames = glob.glob(self.folder+"/"+self.basename+"_[0-9]*"+"."+self.ext)
assert (len(self.filenames) >= 1),\
"Not enough meshes ("+self.folder+"/"+self.basename+"_[0-9]*"+"."+self.ext+"). Aborting."
if (self.n_frames is None):
self.n_frames = len(self.filenames)
else:
......
......@@ -10,6 +10,8 @@
from builtins import *
import dolfin
import myPythonLibrary as mypy
import myVTKPythonLibrary as myvtk
......
......@@ -12,6 +12,7 @@
from builtins import *
import dolfin
import glob
import numpy
import vtk
......
......@@ -12,6 +12,7 @@
from builtins import *
import dolfin
import glob
import numpy
import vtk
......
......@@ -12,6 +12,7 @@
from builtins import *
import dolfin
import numpy
import os
import vtk
......
......@@ -10,6 +10,7 @@
from builtins import *
import dolfin
import math
import numpy
import os
......
......@@ -10,6 +10,8 @@
from builtins import *
import dolfin
import myPythonLibrary as mypy
import myVTKPythonLibrary as myvtk
......
......@@ -10,6 +10,7 @@
from builtins import *
import dolfin
import glob
import math
import numpy
......
......@@ -10,6 +10,7 @@
from builtins import *
import dolfin
import glob
import math
import numpy
......
......@@ -10,6 +10,7 @@
from builtins import *
import dolfin
import glob
import math
import numpy
......
......@@ -10,6 +10,7 @@
from builtins import *
import dolfin
import numpy
import vtk
......
......@@ -10,6 +10,7 @@
from builtins import *
import dolfin
import glob
import math
import numpy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment