genList sort and add requirement imports to main package

This commit is contained in:
lukew3
2020-11-20 20:41:43 -05:00
parent e6f53c9475
commit 65d5902d90
2 changed files with 9 additions and 1 deletions

View File

@@ -1,5 +1,11 @@
import sys
import traceback
import random
import sympy
import numpy
import scipy
genList = []
@@ -29,4 +35,6 @@ class Generator:
def getGenList():
correctedList = genList[-1:] + genList[:-1]
#Orders list by id
correctedList.sort()
return correctedList