Skip to content

Commit

Permalink
Fix checking if the confocal mode was used
Browse files Browse the repository at this point in the history
  • Loading branch information
kochanczyk committed Sep 11, 2024
1 parent ae5e0b8 commit a25a5fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operetta.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def extract_image_acquisition_settings(operetta_export_folder_path: Path) -> Tup
values.pop() if len(values) == 1 else list(values)

general_settings['Binning'] = [f"{general_settings['BinningX'].pop()}x{general_settings['BinningY'].pop()}"]
general_settings['Confocal'] = ['Yes' if general_settings['AcquisitionType'] == 'Confocal' else 'No']
general_settings['Confocal'] = ['Yes' if general_settings['AcquisitionType'].pop() == 'NipkowConfocal' else 'No']
general_df = pd.DataFrame({
f"{setting}:": f"{value.pop()}x" if setting == 'ObjectiveMagnification' else value
for setting, value in general_settings.items()
Expand Down

0 comments on commit a25a5fc

Please sign in to comment.