Skip to content

Conversation

@yoshi74ls181
Copy link
Contributor

This pull request adds a feature to display an icon indicating whether a measurement is complete or was interrupted. The icons look like this:
image

How it works:
When a DDH5Writer exits, either a __complete__ tag or an __interrupted__ tag is created depending on whether the exit is due to an exception or not. Monitr treats the __complete__ and __interrupted__ tags like the __star__ and __trash__ tags and displays an icon. In this implementation, __star__ and __trash__ takes precedence over __complete__ and __interrupted__.

@yoshi74ls181
Copy link
Contributor Author

Other possibilities for the "interrupted" icon (the top one):
image
image

f'Folder is already star. Please do not add both __trash__ and __star__ tags in the same folder. '
f' \n {path} was deleted ')
error_msg.setWindowTitle(f'Deleting __star__.tag')
error_msg.setWindowTitle(f'Deleting __trash__.tag')
Copy link
Collaborator

Choose a reason for hiding this comment

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

nice catch!

Copy link
Collaborator

@marcosfrenkel marcosfrenkel left a comment

Choose a reason for hiding this comment

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

Looks good!

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.

2 participants