Skip to content

Commit

Permalink
Fix imports to be absolute
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Nov 8, 2024
1 parent eacc460 commit cb942e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions python/podio/root_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@

from ROOT import gSystem

from utils import convert_to_str_paths

gSystem.Load("libpodioRootIO") # noqa: E402
from ROOT import podio # noqa: E402 # pylint: disable=wrong-import-position

from podio.base_reader import BaseReaderMixin # pylint: disable=wrong-import-position # noqa: E402
from podio.base_writer import BaseWriterMixin # pylint: disable=wrong-import-position # noqa: E402
from podio.utils import convert_to_str_paths # pylint: disable=wrong-import-position # noqa: E402


class Reader(BaseReaderMixin):
Expand Down
3 changes: 1 addition & 2 deletions python/podio/sio_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

from ROOT import gSystem

from utils import convert_to_str_paths

if gSystem.DynamicPathName("libpodioSioIO.so", True):
gSystem.Load("libpodioSioIO") # noqa: 402
else:
Expand All @@ -13,6 +11,7 @@

from podio.base_reader import BaseReaderMixin # pylint: disable=wrong-import-position
from podio.base_writer import BaseWriterMixin # pylint: disable=wrong-import-position
from podio.utils import convert_to_str_paths # pylint: disable=wrong-import-position # noqa: E402


class Reader(BaseReaderMixin):
Expand Down

0 comments on commit cb942e9

Please sign in to comment.