diff --git a/ziffers/__pycache__/__init__.cpython-311.pyc b/ziffers/__pycache__/__init__.cpython-311.pyc index 1de4bd2..542df8f 100644 Binary files a/ziffers/__pycache__/__init__.cpython-311.pyc and b/ziffers/__pycache__/__init__.cpython-311.pyc differ diff --git a/ziffers/__pycache__/classes.cpython-311.pyc b/ziffers/__pycache__/classes.cpython-311.pyc index cda06ed..c937db5 100644 Binary files a/ziffers/__pycache__/classes.cpython-311.pyc and b/ziffers/__pycache__/classes.cpython-311.pyc differ diff --git a/ziffers/__pycache__/common.cpython-311.pyc b/ziffers/__pycache__/common.cpython-311.pyc index 8232b4e..b26c5e5 100644 Binary files a/ziffers/__pycache__/common.cpython-311.pyc and b/ziffers/__pycache__/common.cpython-311.pyc differ diff --git a/ziffers/__pycache__/defaults.cpython-311.pyc b/ziffers/__pycache__/defaults.cpython-311.pyc index c237efa..b40e672 100644 Binary files a/ziffers/__pycache__/defaults.cpython-311.pyc and b/ziffers/__pycache__/defaults.cpython-311.pyc differ diff --git a/ziffers/__pycache__/mapper.cpython-311.pyc b/ziffers/__pycache__/mapper.cpython-311.pyc index a675381..853b10a 100644 Binary files a/ziffers/__pycache__/mapper.cpython-311.pyc and b/ziffers/__pycache__/mapper.cpython-311.pyc differ diff --git a/ziffers/__pycache__/parser.cpython-311.pyc b/ziffers/__pycache__/parser.cpython-311.pyc index cb14bd1..c59c69a 100644 Binary files a/ziffers/__pycache__/parser.cpython-311.pyc and b/ziffers/__pycache__/parser.cpython-311.pyc differ diff --git a/ziffers/mapper.py b/ziffers/mapper.py index 21f921b..78b3e05 100644 --- a/ziffers/mapper.py +++ b/ziffers/mapper.py @@ -1,7 +1,7 @@ -from lark import Lark, Transformer -from classes import * -from common import flatten -from defaults import default_durs +from lark import Transformer +from .classes import * +from .common import flatten +from .defaults import default_durs from collections import Counter class ZiffersTransformer(Transformer): @@ -87,4 +87,4 @@ class ZiffersTransformer(Transformer): return Subdivision(values=values,text="["+"".join([val.text for val in values])+"]") def subitems(self,s): - return s \ No newline at end of file + return s diff --git a/ziffers/parser.py b/ziffers/parser.py index 74aad8e..b131aaa 100644 --- a/ziffers/parser.py +++ b/ziffers/parser.py @@ -1,5 +1,5 @@ from rich import print -from mapper import * +from .mapper import * from pathlib import Path from lark import Lark