Skip to content

Commit

Permalink
converts more float refs to int
Browse files Browse the repository at this point in the history
  • Loading branch information
kodymoodley committed Jan 3, 2024
1 parent 467b6cc commit 9a0126b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions orangecontrib/storynavigation/widgets/OWSNActorAnalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,9 +364,9 @@ class Outputs:
# currently selected agent prominence metric
agent_prominence_metric = constants.SELECTED_PROMINENCE_METRIC
# minimum possible score for agent prominence
agent_prominence_score_min = 0.0
agent_prominence_score_min = 0
# maximum possible score for agent prominence
agent_prominence_score_max = 15.0
agent_prominence_score_max = 15
word_prominence_scores = {}
sli = None

Expand Down Expand Up @@ -723,7 +723,7 @@ def set_selection(self) -> None:

def selection_changed(self) -> None:
"""Function is called every time the selection changes"""
self.agent_prominence_score_min = 0.0
self.agent_prominence_score_min = 0
self.actortagger.word_prominence_scores = {}
self.actortagger.noun_action_dict = {}
self.actortagger.num_occurences_as_subject = {}
Expand All @@ -738,7 +738,7 @@ def selection_changed(self) -> None:
self.commit.deferred()

def prominence_metric_change(self):
self.agent_prominence_score_min = 0.0
self.agent_prominence_score_min = 0
self.actortagger.word_prominence_scores = {}
self.show_docs(slider_engaged=False)
self.commit.deferred()
Expand Down

0 comments on commit 9a0126b

Please sign in to comment.