Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zoom label #527

Merged
merged 6 commits into from
Nov 22, 2023
Merged

Zoom label #527

merged 6 commits into from
Nov 22, 2023

Conversation

Rdornier
Copy link
Contributor

@Rdornier Rdornier commented Nov 9, 2023

Adding the zoom level in the label list

@@ -1299,6 +1299,8 @@ def draw_labels(self, panel, page):
label_value.append(channel["label"])
label_value = " ".join(label_value)

elif prop_nf[0] in ["zoom"]:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The build is failing flake8 checks due to this line

flake8.main.application   MainProcess   1787 INFO     Found a total of 79 violations and reported 1
./omero_figure/scripts/omero/figure_scripts/Figure_To_Pdf.py:1302:21: E271 multiple spaces after keyword

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I suppressed the extra space, it should be ok now

@@ -605,6 +605,11 @@ <h4>Dynamic properties</h4>
<td>Dataset ID: [dataset.id]</td>
<td>Dataset ID: 1654</td>
</tr>
<tr>
<th>Zoom</th>
<td>[zoom] %</td>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The % is generated by the [zoom] itself, so you have [zoom] % you actually get [zoom] % %.
So I think you can just remove the % from this line.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It takes me moment but now I get it. Yes, we can remove the % from the tips.

@will-moore
Copy link
Member

Apart from the minor point above, this is working fine.

@will-moore will-moore added this to the 6.1.0 milestone Nov 22, 2023
@will-moore
Copy link
Member

Thanks - merging...

@will-moore will-moore merged commit fcd6647 into ome:master Nov 22, 2023
1 check passed
@Rdornier Rdornier deleted the zoom-label branch June 13, 2024 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants