Skip to content

Commit

Permalink
Merge pull request #303 from JoQCcoz/adding_tags
Browse files Browse the repository at this point in the history
change jeolinterface
  • Loading branch information
JoQCcoz authored Aug 8, 2024
2 parents b032620 + 6d4e315 commit 805a137
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Smartscope/core/interfaces/jeolserialem_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ def setup(self, *args, **kwargs):
super().setup(*args, **kwargs)
self.apertures = self._apertures_setter()
sem.SetLowDoseMode(1)
sem.GoToLowDoseArea('R')
self.record_mag = int(sem.ReportMag()[0])
# sem.GoToLowDoseArea('R')
# self.record_mag = int(sem.ReportMag()[0])
self.logger.info(f'LD highmag parameters found. Record mag: {self.record_mag}')

def _apertures_setter(self):
if not self.microscope.apertureControl:
return None
extra_apertures_property = self.get_property('JeolHasExtraApertures')
extra_apertures_property = int(self.get_property('JeolHasExtraApertures'))
if extra_apertures_property == 1:
logging.info('Extra apertures detected')
return JEOLExtraApertures
Expand Down

0 comments on commit 805a137

Please sign in to comment.