Skip to content

Commit

Permalink
Remove usage of enum class
Browse files Browse the repository at this point in the history
Co-authored-by: Juan Miguel Carceller <[email protected]>
  • Loading branch information
tmadlener and jmcarcell committed Dec 1, 2023
1 parent 7d391c9 commit c63b914
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python/podio/reading.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/usr/bin/env python3
"""Module for general reading functionality."""

from enum import IntEnum

from ROOT import TFile

from podio import root_io
Expand All @@ -25,7 +23,7 @@ def _is_frame_sio_file(filename):
'or there is a version mismatch')


class RootFileFormat(IntEnum):
class RootFileFormat:
"""Enum to specify the ROOT file format"""
TTREE = 0 # Non-legacy TTree based file
RNTUPLE = 1 # RNTuple based file
Expand Down

0 comments on commit c63b914

Please sign in to comment.