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

Deleting "Comment" in Ontology editor #99

Closed
HTsybenko opened this issue Oct 23, 2023 · 1 comment · Fixed by #102
Closed

Deleting "Comment" in Ontology editor #99

HTsybenko opened this issue Oct 23, 2023 · 1 comment · Fixed by #102
Assignees
Labels
bug Something isn't working

Comments

@HTsybenko
Copy link

  1. Open "Ontology Editor"

  2. In the opened window (Structure 0), click on deleting the “comment” property.

    A message occurs:
    /home/htsybenko/Temp/envir/lib/python3.10/site-packages/pasta_eln/guiStyle.py:131: RuntimeWarning: Invalid return value in function QAbstractTableModel.flags, expected PySide6.QtCore.Qt.ItemFlags, got NoneType.
    self.triggered.connect(lambda : widget.execute(command))

  3. If saved after that, another warning appears:
    /home/htsybenko/Temp/envir/lib/python3.10/site-packages/pasta_eln/GUI/ontology_configuration/ontology_configuration_extended.py:434: RuntimeWarning: Invalid return value in function QAbstractTableModel.flags, expected PySide6.QtCore.Qt.ItemFlags, got NoneType.

Log:
10-16 09:13:00|INFO:Start PASTA GUI
10-16 09:13:00|INFO:End PASTA GUI
10-16 09:13:04|INFO:Setting up slots for the editor..
10-16 09:13:04|INFO:User loaded the ontology data in UI
10-16 09:13:04|INFO:New type selected in UI: {Structure level 0}
10-16 09:13:04|INFO:Table Data updated..
10-16 09:13:04|INFO:Table Data updated..
10-16 09:13:04|INFO:Table Data updated..
10-16 09:13:04|INFO:New property category selected in UI: {default}
10-16 09:13:04|INFO:Table Data updated..
10-16 09:13:06|INFO:Delete signal emitted for the position: {4}
10-16 09:13:06|INFO:Deleted (row: {4}, data: {{'name': 'comment', 'query': '#tags comments remarks :field:value:'}})…

@jmurugan-fzj
Copy link
Contributor

@HTsybenko I have observed this also multiple times, but the functionality as such will not be affected by the error, deletion would succeed right or do you see any actual issue also associated with this error message?

@jmurugan-fzj jmurugan-fzj self-assigned this Oct 24, 2023
@jmurugan-fzj jmurugan-fzj added the bug Something isn't working label Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants