Skip to content

Commit

Permalink
cleaning stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Patent2net committed Jul 23, 2021
1 parent 3d94116 commit ec81ce1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 31 deletions.
26 changes: 1 addition & 25 deletions Patent2Net/P2N-Nets-new.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
from Patent2Net.P2N_Lib_Acad import NoPunct


# from pymed import PubMed


def swap(x,y):
return y,x

Expand All @@ -44,33 +41,12 @@ def cycle (liste):
Exclus = ['', ' ', 'empty', None, "none"]
#####

# CHARGEMENT DU DICO ENTITES PUBLIQUES
##############


# xlsx = pd.ExcelFile('./Resources/EntitésPubliquesNORM4.xlsx')
# Public = []
# TypeAppl = dict()
# df = pd.read_csv('../Patent2Net/Resources/STANNorm.csv', dtype=str, sep=';', encoding='utf-8')


# for sheet in xlsx.sheet_names:
# dicotemp = xlsx.parse(sheet).to_dict(orient='list')

# for cle, val in dicotemp.items():
# tempoRes = []
# for appli in val:
# sav = appli
# tempoRes.append(appli)
# TypeAppl [cle] = tempoRes
# Public.extend(tempoRes)

# =============================================================================
#
# # CHARGEMENT des données brevet
#
#
# =============================================================================
# # =============================================================================

configFile = LoadConfig()
# Les champs nécessaires par brevet.
Expand Down
4 changes: 2 additions & 2 deletions Patent2Net/media/graph-recipes-v2/app/view_board/board.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@
<div ng-if="status=='end'">
<button ng-click="backToRecipe()" title="Edit"
class="my-2 flex flex-row justify-start uppercase text-sm text-left">
<md-icon class="mr-2">arrow_back</md-icon> Return to recipe
<md-icon class="mr-2">arrow_back</md-icon> Return
</button>
</div>
<div ng-if="status=='end' || status=='edit'">
<button ng-click="closeRecipe()" title="Back to list"
class="my-2 flex flex-row justify-start uppercase text-sm text-left">
<md-icon class="mr-2">menu</md-icon> Pick another recipe
<md-icon class="mr-2">menu</md-icon> Pick another process
</button>
</div>

Expand Down
6 changes: 3 additions & 3 deletions Patent2Net/media/graph-recipes-v2/app/view_upload/upload.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,16 @@
<div class="flex flex-col container mx-auto p-8">
<div class="flex-1">
<h1 class="text-4xl font-bold leading-6">
Graph Recipes
Graph process
<br>
<span class="text-sm font-normal">...based on <a href="https://graphology.github.io/">Graphology</a></span>
</h1>
<p>
Safely load your networks, they do not leave your computer.
<br><br>
Pick and edit a recipe, or copy-paste it from anywhere.
Pick and edit a graph, or copy-paste it from anywhere.
<br><br>
Enjoy the outcome: processed network, image, or anything javascript can produce.
Enjoy the outcome: processed network, image, or anything javascript can produce. Use <a href="https://gephi.org/">Gephi</a> if you want more...
<br><br>

<ul>
Expand Down
2 changes: 1 addition & 1 deletion Patent2Net/templates/graph-recipes.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Graph Recipes</title>
<title>Graph processing tools</title>
<meta name="description" content="">

<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no" />
Expand Down

0 comments on commit ec81ce1

Please sign in to comment.