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

Supress userwarning: label 'included' not exported #24

Merged
merged 4 commits into from
Nov 18, 2022

Conversation

gimoAI
Copy link
Contributor

@gimoAI gimoAI commented Nov 18, 2022

When stacking 2 ris datasets the following (innocent) userwarning may occur:

c:\>asreview data stack output.ris dataset_1.ris dataset_2.ris

C:\Python310\lib\site-packages\rispy\writer.py:114: UserWarning: label `included` not exported
  warnings.warn(UserWarning(f"label `{label}` not exported"))

This PR supresses the warning: same code as used in compose to supress this same warning.

@J535D165 J535D165 merged commit c2b5272 into asreview:master Nov 18, 2022
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