summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-01-01 17:48:12 +0100
committerjaseg <git@jaseg.de>2022-01-01 17:48:12 +0100
commit483f3dd4f8ff98471abdd2568fae3671ad3ed680 (patch)
treecbe4af12291d7098ea770ea68af457a4da9ef2bb
parent27a992f1c8c0a37245168e23db160412494d0e18 (diff)
downloadgerbonara-483f3dd4f8ff98471abdd2568fae3671ad3ed680.tar.gz
gerbonara-483f3dd4f8ff98471abdd2568fae3671ad3ed680.tar.bz2
gerbonara-483f3dd4f8ff98471abdd2568fae3671ad3ed680.zip
Clean up comments
-rw-r--r--gerbonara/gerber/tests/image_support.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gerbonara/gerber/tests/image_support.py b/gerbonara/gerber/tests/image_support.py
index bb202ab..db44157 100644
--- a/gerbonara/gerber/tests/image_support.py
+++ b/gerbonara/gerber/tests/image_support.py
@@ -154,7 +154,6 @@ def gerber_difference_merge(ref1, ref2, actual, diff_out=None, composite_out=Non
if hasattr(c, 'attrs'):
c['id'] = 'gn-merge-b-' + c.attrs.get('id', str(id(c)))
svg1.append(c)
- # FIXME prefix all group ids with "b-"
if composite_out:
shutil.copyfile(ref1_svg.name, composite_out)
@@ -178,7 +177,7 @@ def image_difference(reference, actual, diff_out=None):
out = np.array(Image.open(actual)).astype(float)
ref, out = ref.mean(axis=2), out.mean(axis=2) # convert to grayscale
- # FIXME blur images here before comparison to mitigate aliasing issue
+ # TODO blur images here before comparison to mitigate aliasing issue
delta = np.abs(out - ref).astype(float) / 255
if diff_out:
Image.fromarray((delta*255).astype(np.uint8), mode='L').save(diff_out)