mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-03 10:15:19 +00:00
Update CodeAligner.py
Program clean up
This commit is contained in:
parent
5f73c9727f
commit
d0ede93dc1
@ -74,7 +74,6 @@ def FindCharRel(Ln):
|
|||||||
if Ln[num] != " ":
|
if Ln[num] != " ":
|
||||||
return num
|
return num
|
||||||
|
|
||||||
|
|
||||||
def Mod_Space_at(Ln,loc,diff):
|
def Mod_Space_at(Ln,loc,diff):
|
||||||
#loc is the varLoc from mln, diff is varLoc - Ind
|
#loc is the varLoc from mln, diff is varLoc - Ind
|
||||||
if diff > 0: # to delete
|
if diff > 0: # to delete
|
||||||
@ -105,7 +104,6 @@ def root_filehandler(path,overwrite=False):
|
|||||||
ModifiedGS = modified_logNew(GiantString,SOV)
|
ModifiedGS = modified_logNew(GiantString,SOV)
|
||||||
Newname = write_to_output(f,ModifiedGS,overwrite)
|
Newname = write_to_output(f,ModifiedGS,overwrite)
|
||||||
|
|
||||||
|
|
||||||
def driver(overwrite=False):
|
def driver(overwrite=False):
|
||||||
root_filehandler(os.getcwd())
|
root_filehandler(os.getcwd())
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user