Skip to content

Commit

Permalink
Update P2N-NetworksBis.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Patent2net committed Jul 23, 2021
1 parent 792161d commit 20bed38
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Patent2Net/P2N-NetworksBis.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,9 +628,9 @@ def Cleaning(texte): # this is for graphviz. Maybe an ascii converter would be o
os.remove(ResultGephiPath+'/' +outputFileJS)
if outputFile in os.listdir(ResultGephiPath+'/'):
os.remove(ResultGephiPath+'/' +outputFile)
os.rename(ResultGephiPath+'/HackTestJS.gexf', ResultGephiPath+'/'+outputFileJS)
# os.rename(ResultGephiPath+'/HackTestJS.gexf', ResultGephiPath+'/'+outputFileJS)
print("Network file writen in ", ResultGephiPath+' directory.\n See file: '+outputFileJS)
os.rename(ResultGephiPath+'/HackTest.gexf', ResultGephiPath+'/'+outputFile)
#os.rename(ResultGephiPath+'/HackTest.gexf', ResultGephiPath+'/'+outputFile)
print("Network file writen in ", ResultGephiPath+' directory.\n See file: '+outputFile)
os.remove( ResultGephiPath+'/temp.gexf')
os.remove( ResultGephiPath+'/temp2.gexf')
#os.remove( ResultGephiPath+'/temp.gexf')
#os.remove( ResultGephiPath+'/temp2.gexf')

0 comments on commit 20bed38

Please sign in to comment.