Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
meta_base_code
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黎涛
meta_base_code
Commits
2f08c2e3
Commit
2f08c2e3
authored
Sep 10, 2020
by
litaolemo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
5f8dd1e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
portary_div_exposure.py
utils/portary_div_exposure.py
+2
-2
No files found.
utils/portary_div_exposure.py
View file @
2f08c2e3
...
...
@@ -350,9 +350,9 @@ def from_id_get_tag(card_id_dict):
second_demands
=
res
.
get
(
"second_demands"
)
if
res
.
get
(
"second_demands"
)
else
[]
first_solutions
=
res
.
get
(
"first_solutions"
)
if
res
.
get
(
"first_solutions"
)
else
[]
second_solutions
=
res
.
get
(
"second_solutions"
)
if
res
.
get
(
"second_solutions"
)
else
[]
first_positions
=
res
.
get
(
"
first_
positions"
)
if
res
.
get
(
"positions"
)
else
[]
first_positions
=
res
.
get
(
"positions"
)
if
res
.
get
(
"positions"
)
else
[]
second_positions
=
res
.
get
(
"second_positions"
)
if
res
.
get
(
"second_positions"
)
else
[]
projects
=
res
.
get
(
"
projects
"
)
if
res
.
get
(
"tags_v3"
)
else
[]
projects
=
res
.
get
(
"
tags_v3
"
)
if
res
.
get
(
"tags_v3"
)
else
[]
word_count_list
=
first_demands
+
second_demands
+
first_solutions
+
second_solutions
+
first_positions
+
second_positions
+
projects
for
word
in
word_count_list
:
if
word
in
query_count
[
doc_type
]:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment