"""
Description: This is the main file. It begins the simulation.
Edit History: Created by Nilapratim Sengupta in July-August 2023.
Modified by Nilapratim Sengupta in October 2023 while implementing parallelization.
"""
# Import statements
from neuron import h
from neuron.units import ms, mV, µm
# Loading NEURON's gui and standard-run library
# h.load_file('nrngui.hoc')
h.load_file('stdrun.hoc')
# # Creating customized panel to view simulation progress
# h.xpanel('Simulation Details')
# h.xvalue('Run Time (ms)','t', 2 )
# h.xbutton('Stop','stoprun=1')
# h.xvalue('Real Time (ms)','realtime', 2 )
# h.xbutton('Quit','quit()')
# h.xpanel(400, 30)
# Importing necessary files
import fileProceduresFunctions
# Invoke the procedure to parallelize and run the simulation
fileProceduresFunctions.proc_parallelizeRun()