Skip to content

Commit 7fbd0b3

Browse files
authored
Merge pull request #55 from smoia/master
Add map of filetypes to related loading functions for matricial data (`io.LOADMAT_DICT`)
2 parents 067e194 + 0649255 commit 7fbd0b3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

nigsp/io.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,9 @@ def export_mtx(data, fname, ext=None):
535535
return 0
536536

537537

538+
LOADMAT_DICT = {"1D": load_txt, "xls": load_xls, "mat": load_mat}
539+
540+
538541
"""
539542
Copyright 2022, Stefano Moia.
540543

0 commit comments

Comments
 (0)