Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dolfin_warp
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Genet
dolfin_warp
Commits
9ab2cf61
Commit
9ab2cf61
authored
6 years ago
by
Martin Genet
Browse files
Options
Downloads
Plain Diff
Merge branch 'init_disp' of gitlab.inria.fr:mgenet/dolfin_dic into init_disp
parents
dddf00cf
81c179b9
No related branches found
No related tags found
1 merge request
!13
Init disp
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
MeshSeries.py
+3
-3
3 additions, 3 deletions
MeshSeries.py
with
3 additions
and
3 deletions
MeshSeries.py
+
3
−
3
View file @
9ab2cf61
...
...
@@ -41,14 +41,14 @@ class MeshSeries():
self
.
printer
.
inc
()
self
.
filenames
=
glob
.
glob
(
self
.
folder
+
"
/
"
+
self
.
basename
+
"
_[0-9]*
"
+
"
.
"
+
self
.
ext
)
assert
(
len
(
self
.
filenames
)
>=
2
),
\
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
:
assert
(
self
.
n_frames
<=
len
(
self
.
filenames
))
assert
(
self
.
n_frames
>=
2
),
\
assert
(
self
.
n_frames
>=
1
),
\
"
n_frames =
"
+
str
(
self
.
n_frames
)
+
"
< 2. Aborting.
"
self
.
printer
.
print_var
(
"
n_frames
"
,
self
.
n_frames
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment