Skip to content

Commit

Permalink
[UPD] - removed fastmat as dependency from setup.py and GPC.py and ME…
Browse files Browse the repository at this point in the history
…GPC.py
  • Loading branch information
konstantinweise committed Apr 9, 2024
1 parent 51cd453 commit b085cac
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 5 additions & 1 deletion pygpc/GPC.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import numpy as np
import fastmat as fm
import scipy.stats
import copy
import h5py
Expand All @@ -25,6 +24,11 @@
except ImportError:
pass

try:
import fastmat as fm
except ImportError:
pass


class GPC(object):
"""
Expand Down
5 changes: 4 additions & 1 deletion pygpc/MEGPC.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import numpy as np
import fastmat as fm
import scipy.stats
import copy
import h5py
Expand All @@ -20,6 +19,10 @@
from .Grid import *
from .SGPC import *

try:
import fastmat as fm
except ImportError:
pass

class MEGPC(object):
"""
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
# 'julia'],
install_requires=['scipy',
'numpy',
'fastmat',
'scikit-learn',
'h5py',
'tqdm',
Expand Down

0 comments on commit b085cac

Please sign in to comment.