Skip to content

Commit

Permalink
[Minor Update] v1.1.7b
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian-DELRIEU committed May 19, 2020
1 parent 32827de commit bd61153
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions Convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def File2Dict(DataFileName,separator="***"):
convertList.clear()

return Output

#-----------------------------------------------------------------------------------------------------------------------------------------------------------
def Dict2File(Dico,FileName,separator="***"):
try:
Expand Down Expand Up @@ -79,21 +80,6 @@ def List2File(List,FileName):
for el in List:
File.write(str(el))
if el != List[-1]: File.write("\n")
'''
#-----------------------------------------------------------------------------------------------------------------------------------------------------------
def Mat2File(Matrix,DataFileName):
"""
Save Matrix data in a file
"""
file = open(DataFileName,"w")
file.write( str(Matrix) )
#-----------------------------------------------------------------------------------------------------------------------------------------------------------
def File2Mat(DataFileName):
"""
Import a file as array
"""
'''

#-----------------------------------------------------------------------------------------------------------------------------------------------------------
def AsPoint(DataFileName,convert=True):
Expand Down Expand Up @@ -207,6 +193,7 @@ def Dict2CSV(Dict,DataFileName,separator="***"):
i_key+=1
row+=1
i_key = 0

#-----------------------------------------------------------------------------------------------------------------------------------------------------------
def SaveInFile(VarName,DataFileName):
"""
Expand Down

1 comment on commit bd61153

@Florian-DELRIEU
Copy link
Owner Author

@Florian-DELRIEU Florian-DELRIEU commented on bd61153 Jul 22, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A faire passer en v1.2 ?

Please sign in to comment.