Commit 51b303fb authored by Jérome Perrin's avatar Jérome Perrin

introduce a class to read shifts

parent 8596c9ee
from copy import copy
import json
import time
import random
import operator
from dream.simulation.GUI.Default import Simulation as DefaultSimulation
class Simulation(DefaultSimulation):
def _preprocess(self, data):
"""Preprocess data, reading shift spreadsheet"""
# TODO
return data
def run(self, data):
return DefaultSimulation.run(self._preprocess(data))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment