Skip to content
Snippets Groups Projects
Commit 128e3353 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Use fully quoted call to be more explicit

parent 50f7810a
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
from os import listdir
from os.path import join, dirname, basename, splitext
from imcflibs.iotools import readtxt
import imcflibs
from imcflibs.pathtools import exists
from . import __version__
......@@ -223,7 +223,7 @@ def gen_stitching_macro_code(experiment, pfx, path='', tplpath='', opts={}):
ijm = []
ijm.append('// Generated by %s (%s).\n\n' % (__name__, __version__))
ijm.append("// =================== BEGIN macro HEAD ===================\n")
ijm += readtxt(pfx + '_head.ijm', templates)
ijm += imcflibs.iotools.readtxt(pfx + '_head.ijm', templates)
ijm.append("// ==================== END macro HEAD ====================\n")
ijm.append('\n')
......@@ -242,7 +242,7 @@ def gen_stitching_macro_code(experiment, pfx, path='', tplpath='', opts={}):
ijm.append('\n')
ijm.append("// =================== BEGIN macro BODY ===================\n")
ijm += readtxt(pfx + '_body.ijm', templates)
ijm += imcflibs.iotools.readtxt(pfx + '_body.ijm', templates)
ijm.append("// ==================== END macro BODY ====================\n")
log.debug('--- ijm ---\n%s\n--- ijm ---', ijm)
return ijm
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment