main.py 382 B

1234567891011121314
  1. from csvParser import CSVParser
  2. from cjson import processDataFromCSV
  3. import sys
  4. def bootstrap (csvPath, vplFolder):
  5. parser = CSVParser(csvPath)
  6. processDataFromCSV(parser, vplFolder)
  7. #--- run ---#
  8. if __name__ == "__main__":
  9. assert len(sys.argv) == 3, "You must provide the following: path to the csv, the folder with vpl data"
  10. bootstrap(sys.argv[1], sys.argv[2])