Re-writing large chunks of code in the controller -> create submission. Fixed bugs on this occasion plus written a lot of unit-tests on this code. It still throws a weird message when running pysam.
Modified the nr_retries to 5. Fixed the TASK NOT REGISTERED problem -> now it throws an exception, and reloads the doc. Changed the launch_job functions, to update all statuses at once. Close bamfile file when opening with pysam.
Commit to be pushed - radical changes in the controller - creating a submission and launching jobs. Serapis v2.0 --- Tested locally, to be tested on serapis-dev
Fixed a small bug plus added more log entries in the code. Took out the prints.- v2.0
Small adjustments for code cleaning
Merged the srp v1.0 with srp v2.0