Skip to content

Commit

Permalink
Missed update, related to #105.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolay-r committed Jun 29, 2021
1 parent 753c2c0 commit 15ceb25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/experiment/output/opinions/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from arekit.common.experiment.input.readers.opinion import InputOpinionReader
from arekit.common.experiment.output.base import BaseOutput
from arekit.common.labels.scaler import BaseLabelScaler
from arekit.common.model.labeling.modes import LabelCalculationMode
from arekit.common.model.labeling.single import SingleLabelsHelper
from arekit.common.opinions.base import Opinion

Expand All @@ -22,7 +23,7 @@ def iter_opinion_collections(output_filepath,
assert(isinstance(output_filepath, unicode))
assert(isinstance(opinions_reader, InputOpinionReader))
assert(callable(create_opinion_collection_func))
assert(isinstance(label_calculation_mode, unicode))
assert(isinstance(label_calculation_mode, LabelCalculationMode))
assert(isinstance(supported_labels, set) or supported_labels is None)
assert(isinstance(output, BaseOutput))

Expand Down

0 comments on commit 15ceb25

Please sign in to comment.