Skip to content

Commit

Permalink
Merge pull request #14 from Patent2net/4.0.0-dev2
Browse files Browse the repository at this point in the history
4.0.0 dev2
  • Loading branch information
romaric-g committed Jun 9, 2021
2 parents dab1870 + 54a12b1 commit 319c984
Show file tree
Hide file tree
Showing 96 changed files with 138,526 additions and 6,464 deletions.
10 changes: 7 additions & 3 deletions Patent2Net/AcadNNets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1407,10 +1407,14 @@ def cycle (liste):
anglOpt = "{{loadingMessage=='' ? 'LOAD GRAPH' : loadingMessage}}"
)

# Graph recupes v2
RenderTemplate(
"graph-recipes.html",
configFile.ResultPath+"/graph-recipes-" + projectName + ".html",
request=projectName
)





# secondes = time.time() - start_time

# heures, secondes = divmod(secondes, 3600)
Expand Down
12 changes: 8 additions & 4 deletions Patent2Net/P2N-Nets-new.py
Original file line number Diff line number Diff line change
Expand Up @@ -1314,10 +1314,14 @@ def cycle (liste):
configFile.ResultPath+"/GraphUpload.html",
request=projectName,
anglOpt = "{{loadingMessage=='' ? 'LOAD GRAPH' : loadingMessage}}"
)



)

# Graph recupes v2
RenderTemplate(
"graph-recipes.html",
configFile.ResultPath+"/graph-recipes-" + projectName + ".html",
request=projectName
)


# secondes = time.time() - start_time
Expand Down
10 changes: 7 additions & 3 deletions Patent2Net/P2N-Nets-newBeta.py
Original file line number Diff line number Diff line change
Expand Up @@ -888,10 +888,14 @@ def cycle (liste):
anglOpt = "{{loadingMessage=='' ? 'LOAD GRAPH' : loadingMessage}}"
)

# Graph recupes v2
RenderTemplate(
"graph-recipes.html",
configFile.ResultPath+"/graph-recipes-" + projectName + ".html",
request=projectName
)





secondes = time.time() - start_time

heures, secondes = divmod(secondes, 3600)
Expand Down
3 changes: 1 addition & 2 deletions Patent2Net/media/Graph-recipes/view_board/board.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ <h3 class="main-title">P2N graph</h3>

<div layout flex>
<div layout="column" layout-fill class="command-zone">
<div class="network-info">
<div class="network-info flex flex-row">
<span style="font-size: 1.4em">{{filename}}</span>
<br>
{{nodesCount}} nodes -
{{edgesCount}} edges
<br>
Expand Down

0 comments on commit 319c984

Please sign in to comment.