Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/aimclub/OCEANAI
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitryRyumin committed Dec 10, 2024
2 parents 174a2ee + 240413d commit fb1337e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions oceanai/modules/core/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ def __post_init__(self):
self._df_files_ranking: pd.DataFrame = pd.DataFrame() # DataFrame с ранжированными данными
# DataFrame с ранжированными предпочтениями на основе данных
self._df_files_priority: pd.DataFrame = pd.DataFrame()
self._df_files_priority_score: List[List[float]] = []
# DataFrame с ранжированными коллегами на основе данных
self._df_files_colleague: pd.DataFrame = pd.DataFrame()
self._df_files_priority_skill: pd.DataFrame = pd.DataFrame()
Expand Down Expand Up @@ -3856,6 +3857,8 @@ def _priority_calculation(
else:
try:

self._df_files_priority_score = []

self._df_files_priority = self._df_files.copy()
df_files_priority = self._df_files.copy()

Expand Down Expand Up @@ -3893,6 +3896,8 @@ def _priority_calculation(
for i in range(number_importance_traits)
],
] = importance_traits

self._df_files_priority_score.append(curr_weights[idx_max_values])
except Exception:
self._other_error(self._unknown_err, out=out)
return self._df_files_priority
Expand Down

0 comments on commit fb1337e

Please sign in to comment.