<commit_before>"""
Script converting source model file from NRML03 to NRML04.
"""
from lxml import etree
import csv
from decimal import Decimal

from oqtoolsui.converters import gml
from oqtoolsui.converters import nrml03


#FAULTING_STYLE_FILE = 'converters/faulting_style_data.csv'
from oqtoolsui.converters import nrml04

FAULTING_STYLE_FILE = '/home/orhan/Desktop/EMME_AsModel_ver2_2_brc1.csv'
SOURCE_MODEL_NAME = 'SHARE ASC Area Source Model'
#STRIKES_WEIGHTS = [(0.0, Decimal('0.5')), (90.0, Decimal('0.5'))]
STRIKES_WEIGHTS = [(0.0, Decimal('1.0'))]
DIP = 90.0
UPPER_SEISMO_DEPTH = 0.0
LOWER_SEISMO_DEPTH =40.0
MAG_SCALE_REL = 'WC1994'
RUPT_ASPECT_RATIO = 1.0



<commit_msg>FAULTING_STYLE_FILE fix<commit_after>"""
Script converting source model file from NRML03 to NRML04.
"""
from lxml import etree
import csv
from decimal import Decimal

from oqtoolsui.converters import gml
from oqtoolsui.converters import nrml03


FAULTING_STYLE_FILE = 'converters/faulting_style_data.csv'
from oqtoolsui.converters import nrml04

#FAULTING_STYLE_FILE = '/home/orhan/Desktop/EMME_AsModel_ver2_2_brc1.csv'
SOURCE_MODEL_NAME = 'SHARE ASC Area Source Model'
#STRIKES_WEIGHTS = [(0.0, Decimal('0.5')), (90.0, Decimal('0.5'))]
STRIKES_WEIGHTS = [(0.0, Decimal('1.0'))]
DIP = 90.0
UPPER_SEISMO_DEPTH = 0.0
LOWER_SEISMO_DEPTH =40.0
MAG_SCALE_REL = 'WC1994'
RUPT_ASPECT_RATIO = 1.0




{'fraction_non_alphanumeric': 0.11062590975254731, 'fraction_numerical': 0.055312954876273655, 'mean_word_length': 5.944444444444445, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5321257', 'n_tokens_mistral': 633, 'n_tokens_neox': 572, 'n_words': 121}