Skip to content

Commit

Permalink
Update all_actions.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hainm authored Jun 17, 2024
1 parent 38f468b commit 45e1d50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytraj/all_actions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import absolute_import
import numpy as np
from enum import Enum
from enum import StrEnum
from typing import Any, Callable, List, Union
from functools import partial

Expand Down Expand Up @@ -71,7 +71,7 @@
'watershell', 'wavelet', 'xcorr', 'xtalsymm',
] # yapf: disable

class DatasetType(Enum):
class DatasetType(StrEnum):
COORDS = 'coords'
REFERENCE = 'reference'
REFERENCE_FRAME = 'ref_frame'
Expand Down

0 comments on commit 45e1d50

Please sign in to comment.