-
Notifications
You must be signed in to change notification settings - Fork 31
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
Zoom label #527
Conversation
@@ -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"]: |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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> |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
Apart from the minor point above, this is working fine. |
Thanks - merging... |
Adding the zoom level in the label list