asreview / asreview-datatools

Tool to preprocess datasets for ASReview
MIT License
19 stars 13 forks source link

Supress userwarning: label 'included' not exported #24

Closed gimoAI closed 1 year ago

gimoAI commented 1 year ago

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.