Browse Source

tiny fix in fill.py

master
phryk 1 year ago
parent
commit
d2122eb6f7
1 changed files with 16 additions and 16 deletions
  1. +16
    -16
      fill.py

+ 16
- 16
fill.py View File

@@ -22,7 +22,7 @@ def news():

def datasets():

sine = example.poobrains.svg.Dataset()
sine = example.poobrains.svg.StoredDataset()
sine.owner = u
sine.group = g
sine.name = 'sine'
@@ -32,7 +32,7 @@ def datasets():
sine.label_y = 'Sine Y'
sine.save()

fucksgiven = example.poobrains.svg.Dataset()
fucksgiven = example.poobrains.svg.StoredDataset()
fucksgiven.owner = u
fucksgiven.group = g
fucksgiven.name = 'fucksgiven'
@@ -45,7 +45,7 @@ def datasets():
sine_steps = 33
for i in range(0,sine_steps):

dp = example.poobrains.svg.Datapoint()
dp = example.poobrains.svg.StoredDatapoint()
dp.dataset = sine
dp.owner = u
dp.group = g
@@ -55,7 +55,7 @@ def datasets():
dp.save(force_insert=True)


fuck = example.poobrains.svg.Datapoint()
fuck = example.poobrains.svg.StoredDatapoint()
fuck.dataset = fucksgiven
fuck.owner = u
fuck.group = g
@@ -68,7 +68,7 @@ def datasets():

fuck.save(force_insert=True)

cont_a = example.poobrains.svg.Dataset()
cont_a = example.poobrains.svg.StoredDataset()
cont_a.owner = u
cont_a.group = g
cont_a.name = 'cont_a'
@@ -80,7 +80,7 @@ def datasets():

for i in range(-23, 6):

dp = example.poobrains.svg.Datapoint()
dp = example.poobrains.svg.StoredDatapoint()
dp.dataset = cont_a
dp.owner = u
dp.group = g
@@ -89,7 +89,7 @@ def datasets():

dp.save(force_insert=True)

cont_b = example.poobrains.svg.Dataset()
cont_b = example.poobrains.svg.StoredDataset()
cont_b.owner = u
cont_b.group = g
cont_b.name = 'cont_b'
@@ -101,7 +101,7 @@ def datasets():

for i in range(2, 24):

dp = example.poobrains.svg.Datapoint()
dp = example.poobrains.svg.StoredDatapoint()
dp.dataset = cont_b
dp.owner = u
dp.group = g
@@ -113,7 +113,7 @@ def datasets():

def map():

m = example.poobrains.svg.MapDataset()
m = example.poobrains.svg.MapStoredDataset()
m.owner = u
m.group = g
m.name = 'grid'
@@ -127,7 +127,7 @@ def map():

for lat in range(-75, 76, 15):
for lon in range(-180, 181, 15):
dp = example.poobrains.svg.MapDatapoint()
dp = example.poobrains.svg.MapStoredDatapoint()
dp.owner = u
dp.group = g
dp.dataset = m
@@ -138,19 +138,19 @@ def map():

dp.save(force_insert=True)

places = example.poobrains.svg.MapDataset()
places = example.poobrains.svg.MapStoredDataset()
places.owner = u
places.group = g
places.name = 'places'
places.title = 'Some Places'
places.description = 'Sample MapDataset from fill.py'
places.description = 'Sample MapStoredDataset from fill.py'
places.bbox_left = -180
places.bbox_right = 180
places.bbox_top = 75
places.bbox_bottom = -75
places.save()

dp = example.poobrains.svg.MapDatapoint()
dp = example.poobrains.svg.MapStoredDatapoint()
dp.owner = u
dp.group = g
dp.dataset = places
@@ -160,7 +160,7 @@ def map():
dp.description = 'Center of the map at 0,0. Near the african west coast.'
dp.save(force_insert=True)

dp = example.poobrains.svg.MapDatapoint()
dp = example.poobrains.svg.MapStoredDatapoint()
dp.owner = u
dp.group = g
dp.dataset = places
@@ -170,7 +170,7 @@ def map():
dp.description = 'Where 34C3 will be'
dp.save(force_insert=True)

dp = example.poobrains.svg.MapDatapoint()
dp = example.poobrains.svg.MapStoredDatapoint()
dp.owner = u
dp.group = g
dp.dataset = places
@@ -180,7 +180,7 @@ def map():
dp.description = 'Southernmost town of mainland India'
dp.save(force_insert=True)
dp = example.poobrains.svg.MapDatapoint()
dp = example.poobrains.svg.MapStoredDatapoint()
dp.owner = u
dp.group = g
dp.dataset = places


Loading…
Cancel
Save