Skip to content

Commit

Permalink
passing osx build on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
arrrobase committed Mar 29, 2018
1 parent 6e97c8b commit 7059557
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -12,7 +12,6 @@ cache: pip
branches:
only:
- master
- dev

notifications:
email:
Expand Down
6 changes: 4 additions & 2 deletions pyStim/pyStim.py
Expand Up @@ -1949,8 +1949,10 @@ def make_stim(self):
# array of coordinates for each element
xys = []
# populate xys
for y in range(self.num_check / -2, self.num_check / 2):
for x in range(self.num_check / -2, self.num_check / 2):
low, high = self.num_check // -2, self.num_check // 2

for y in range(low, high):
for x in range(low, high):
xys.append((self.check_size[0] * x,
self.check_size[1] * y))

Expand Down
2 changes: 1 addition & 1 deletion pyStim/pyStimGUI.py
Expand Up @@ -1424,7 +1424,7 @@ def on_load_button(self, event):
line = line.rstrip()
if line == '#BEGIN PICKLE#':
next_is_pickle = True

# TODO: fix
to_load = pickle.loads(to_load)

except ValueError:
Expand Down

0 comments on commit 7059557

Please sign in to comment.