Skip to content

Commit

Permalink
Merge pull request #97 from neurolib-dev/feature/multimodel_PR3
Browse files Browse the repository at this point in the history
MultiModel PR3
  • Loading branch information
caglorithm authored Oct 27, 2020
2 parents 55d1fb3 + 4d270fc commit 38b26be
Show file tree
Hide file tree
Showing 20 changed files with 1,566 additions and 195 deletions.
5 changes: 3 additions & 2 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ coverage:
round: nearest
range: "50...90"
ignore:
- "neurolib/models/**/timeIntegration.py"
- "neurolib/models/**/timeIntegration.py"
- "neurolib/utils/devutils.py"
- "neurolib/utils/atlases.py"
- "neurolib/models/multimodel/builder/aln.py"
status:
project:
default:
enabled: yes
target: auto
threshold: 5%
patch: off
patch: off
2 changes: 1 addition & 1 deletion neurolib/models/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ def setOutput(self, name, data, append=False, removeICs=False):
assert isinstance(data, np.ndarray), "Output must be a `numpy.ndarray`."

# remove initial conditions from output
if removeICs and name is not "t":
if removeICs and name != "t":
if data.ndim == 1:
data = data[self.startindt :]
elif data.ndim == 2:
Expand Down
Loading

0 comments on commit 38b26be

Please sign in to comment.