Divide by zero that python doesn't handle very well (It throws an exception and stops).
'''
Traceback (most recent call last):
File "/home/pcuser/anaconda3/envs/cryoQA/bin/SSA_data_proccessing", line 33, in
sys.exit(load_entry_point('SQUID-SSA-Char', 'console_scripts', 'SSA_data_proccessing')())
File "/home/pcuser/gitrepos/squid_ssa_char/squid_ssa_char/scripts/SSA_data_processing.py", line 148, in main
round((i.M_fb),2), round((i.M_in),2), round((i.M_in)/(i.M_fb),2)]
ZeroDivisionError: division by zero
'''
I believe we should break the calculations performed in that array into separate statements so we can check for divide by zero issues.
Divide by zero that python doesn't handle very well (It throws an exception and stops). ''' Traceback (most recent call last): File "/home/pcuser/anaconda3/envs/cryoQA/bin/SSA_data_proccessing", line 33, in
sys.exit(load_entry_point('SQUID-SSA-Char', 'console_scripts', 'SSA_data_proccessing')())
File "/home/pcuser/gitrepos/squid_ssa_char/squid_ssa_char/scripts/SSA_data_processing.py", line 148, in main
round((i.M_fb),2), round((i.M_in),2), round((i.M_in)/(i.M_fb),2)]
ZeroDivisionError: division by zero
'''
I believe we should break the calculations performed in that array into separate statements so we can check for divide by zero issues.