Skip to content

Commit

Permalink
Merge pull request #304 from JoQCcoz/adding_tags
Browse files Browse the repository at this point in the history
change serialeminterface
  • Loading branch information
JoQCcoz authored Aug 8, 2024
2 parents 805a137 + 9cc2695 commit 1ecabae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions Smartscope/core/interfaces/jeolserialem_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,13 @@ 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])
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 = int(self.get_property('JeolHasExtraApertures'))
self.debug(f'Extra apertures property: {extra_apertures_property}, {type(extra_apertures_property)}')
if extra_apertures_property == 1:
logging.info('Extra apertures detected')
return JEOLExtraApertures
Expand Down
2 changes: 1 addition & 1 deletion Smartscope/core/interfaces/serialem_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ def set_apertures_for_lowmag(self):
return
self.remove_aperture(self.apertures.OBJECTIVE)
if self.atlas_settings.atlas_c2_aperture == 0:
self.remove_aperture(self.atlas_settings.atlas_c2_aperture)
self.remove_aperture(self.apertures.CONDENSER)
return
self.insert_aperture(self.apertures.CONDENSER, self.atlas_settings.atlas_c2_aperture)

Expand Down

0 comments on commit 1ecabae

Please sign in to comment.