Commit 62ed922c authored by Elisa Kanaki's avatar Elisa Kanaki

Bugfix in import

parent 7edbee8a
......@@ -25,7 +25,7 @@ from PyQt5 import QtWidgets
from typing import List, TYPE_CHECKING
from .particleAndMeasurement import Particle, Measurement
from .particleCharacterization import calculateFTIRAperturesForParticle
from .particleCharacterization import calculateFTIRAperturesForParticle, getFibreDimension
specImportEnabled: bool = True
from ..analysis import importSpectra
......@@ -398,7 +398,7 @@ class ParticleContainer(object):
particle = self.getParticleOfIndex(index)
if 'fibre' == newShape:
particle.longSize, particle.shortSize = pc.getFibreDimension(particle.contour)
particle.longSize, particle.shortSize = getFibreDimension(particle.contour)
particle.longSize *= self.datasetParent.getPixelScale()
particle.shortSize *= self.datasetParent.getPixelScale()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment