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 @@ ...@@ -10,6 +10,7 @@
from builtins import * from builtins import *
import dolfin
import glob import glob
import myPythonLibrary as mypy import myPythonLibrary as mypy
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
from builtins import * from builtins import *
import dolfin
import glob import glob
import myPythonLibrary as mypy import myPythonLibrary as mypy
...@@ -45,7 +46,7 @@ class MeshSeries(): ...@@ -45,7 +46,7 @@ class MeshSeries():
self.filenames = glob.glob(self.folder+"/"+self.basename+"_[0-9]*"+"."+self.ext) self.filenames = glob.glob(self.folder+"/"+self.basename+"_[0-9]*"+"."+self.ext)
assert (len(self.filenames) >= 1),\ assert (len(self.filenames) >= 1),\
"Not enough meshes ("+self.folder+"/"+self.basename+"_[0-9]*"+"."+self.ext+"). Aborting." "Not enough meshes ("+self.folder+"/"+self.basename+"_[0-9]*"+"."+self.ext+"). Aborting."
if (self.n_frames is None): if (self.n_frames is None):
self.n_frames = len(self.filenames) self.n_frames = len(self.filenames)
else: else:
......
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
from builtins import * from builtins import *
import dolfin
import myPythonLibrary as mypy import myPythonLibrary as mypy
import myVTKPythonLibrary as myvtk import myVTKPythonLibrary as myvtk
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
from builtins import * from builtins import *
import dolfin
import glob import glob
import numpy import numpy
import vtk import vtk
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
from builtins import * from builtins import *
import dolfin
import glob import glob
import numpy import numpy
import vtk import vtk
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
from builtins import * from builtins import *
import dolfin
import numpy import numpy
import os import os
import vtk import vtk
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
from builtins import * from builtins import *
import dolfin
import math import math
import numpy import numpy
import os import os
......
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
from builtins import * from builtins import *
import dolfin
import myPythonLibrary as mypy import myPythonLibrary as mypy
import myVTKPythonLibrary as myvtk import myVTKPythonLibrary as myvtk
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
from builtins import * from builtins import *
import dolfin
import glob import glob
import math import math
import numpy import numpy
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
from builtins import * from builtins import *
import dolfin
import glob import glob
import math import math
import numpy import numpy
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
from builtins import * from builtins import *
import dolfin
import glob import glob
import math import math
import numpy import numpy
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
from builtins import * from builtins import *
import dolfin
import numpy import numpy
import vtk import vtk
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
from builtins import * from builtins import *
import dolfin
import glob import glob
import math import math
import numpy 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