- Python 3.6
- Download the repository from git using git
git clone https://github.com/mehedi-shafi/TakeOffSeatPlan.git
- or Download as zip.
- Installed required libraries using pip
pip install -r requirements.txt
- Copy the response data csv to raw/ directory
- Open conf.json file and edit necessary variables. Required ones are
semester
[current semester id]participant_count
[total number of participant confirmed]input
[input csv path]number_rooms
[Number of rooms required]number_seat_per_room
[Number of marked computers each room]-
make sure you maintain the required room and computer count accordingly
- You can leave the non-required configurations in conf.json as they are.
-
MAKE SURE NO FIELDS ARE NAN. If you leave them they will be defined as 'UD' by the system.
- Rename the headers in of the csv files to following
- time
- name
- mobile
- mobile2
- campus
- department
- semester
- section
- tshirt
- id
- payment
- token
- This step is important. If you don't rename the header accordingly script will fail
- Run the script.
python main.py
- After running you should find necessary output files in outputs folder.