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

DM-36220: Allow plotInfo to be None #29

Merged
merged 1 commit into from Sep 22, 2022
Merged

DM-36220: Allow plotInfo to be None #29

merged 1 commit into from Sep 22, 2022

Conversation

isullivan
Copy link
Contributor

No description provided.

@@ -262,7 +262,7 @@ def addPlotInfo(fig, plotInfo):
for band in plotInfo["bands"]:
bandText += band + ", "
bandsText = f", Bands: {bandText[:-2]}"
SNText = f", S/N: {plotInfo['SN']}"
SNText = f", S/N: {plotInfo['SN']}" if "SN" in plotInfo.keys() else ""
Copy link
Collaborator

Choose a reason for hiding this comment

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

I just put in a fix for this on another ticket. I added a "-" rather than a "".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Great! I will remove this change from this PR, then.

@isullivan isullivan merged commit fdcc93c into main Sep 22, 2022
@isullivan isullivan deleted the tickets/DM-36220 branch September 22, 2022 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants