Skip to content

Commit

Permalink
Fixed error in gridfont loader
Browse files Browse the repository at this point in the history
  • Loading branch information
dsblank committed Sep 12, 2018
1 parent f34dc71 commit 7f02743
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion conx/datasets/_gridfonts.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ def gridfonts(*args, **kwargs):
dataset.load_direct([letters], [targets], [labels])
return dataset

def figure_ground_a(dataset):
def figure_ground_a(*args, **kwargs):
dataset = cx.Dataset()
url = "https://raw.githubusercontent.com/Calysto/conx/master/data/figure_ground_a.npy"
path = get_file("figure_ground_a.npy", origin=url)
ds = np.load(path)
Expand Down Expand Up @@ -68,3 +69,4 @@ def figure_ground_a(dataset):
https://repository.brynmawr.edu/compsci_pubs/78/
"""
dataset.load_direct([letters], [brims, bodies])
return dataset

0 comments on commit 7f02743

Please sign in to comment.