465b / nemf

A novel three step network-based general ecosystem modeling framework
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

bad method of importing with keys #78

Closed 465b closed 4 years ago

465b commented 4 years ago
    if 'delimiter' in list(kwargs):
        data = np.genfromtxt(path,skip_header=1,**kwargs,)
        names = np.genfromtxt(path,names=True,delimiter=',',**kwargs).dtype.names

makes it a mess to deal with different sets of keys

465b commented 4 years ago

it's still ugly, but now it works at least