From c98f32dea1a44255abbdfcd931c7e1a0fcebbfeb Mon Sep 17 00:00:00 2001 From: haidi Date: Thu, 9 Sep 2021 17:26:02 +0800 Subject: [PATCH] delete sort_list function --- mech2d/utils.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/mech2d/utils.py b/mech2d/utils.py index 1569e68..611a825 100644 --- a/mech2d/utils.py +++ b/mech2d/utils.py @@ -51,20 +51,6 @@ def create_path (path,back=False) : os.makedirs (path) return path -def sortlist(lst1, lst2): - temp = copy.copy(lst1) - - lst3 = [] - lst4 = [] - - temp.sort() - - for i in range(len(lst1)): - lst3.append(lst1[lst1.index(temp[i])]) - lst4.append(lst2[lst1.index(temp[i])]) - - return lst3, lst4 - def prettyprint(c,precision=3): #c=np.array(c)