Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
py-EM
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Martin Schorb
py-EM
Commits
051b9da3
Commit
051b9da3
authored
Aug 17, 2020
by
Martin Schorb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix mergemap idoc
parent
539ea002
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
pyEM.py
pyEM.py
+3
-1
No files found.
pyEM.py
View file @
051b9da3
...
...
@@ -135,6 +135,8 @@ def mdoc_item(lines1,label,header=False):
# returns it as a dictionary
if
lines1
[
-
1
]
!=
''
:
lines
=
lines1
+
[
''
]
else
:
lines
=
lines1
if
header
:
item
=
lines
[:
lines
.
index
(
''
)]
...
...
@@ -543,7 +545,7 @@ def mergemap(mapitem,crop=False,black=False,blendmont=True):
if
'Image = '
in
lastitem
:
break
prefix
=
mbase
[:
mbase
.
find
(
'.idoc'
)]
prefix
=
mbase
#
[:mbase.find('.idoc')]
stacksize
=
int
(
lastitem
[
lastitem
.
find
(
prefix
)
+
len
(
prefix
):
-
5
])
+
1
mergeheader
[
'stacksize'
]
=
stacksize
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment