forked from official-apps/SeismicHazardForecasting
		
	define m_max when magnitude distribution estimation is not enabled; take from user's m_file
This commit is contained in:
		@@ -81,6 +81,7 @@ def main(catalog_file, mc_file, pdf_file, m_file, m_select, mag_label, mc, m_max
 | 
			
		||||
        m_range = [None]
 | 
			
		||||
    else:
 | 
			
		||||
        m_range = read_mat_m(m_file)
 | 
			
		||||
        m_max = m_range[-1] # take m_max from the m_file
 | 
			
		||||
 | 
			
		||||
    if verbose:
 | 
			
		||||
        logger.setLevel(logging.DEBUG)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user