Skip to content

Commit

Permalink
Fix an error due to Unpack being unavailable in python 3.10.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzwanenburg committed Mar 27, 2024
1 parent ce8396b commit 18a1c68
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mirp/settings/generic.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import copy
from typing import Unpack
import sys
if sys.version_info >= (3, 11):
from typing import Unpack
else:
from typing_extensions import Unpack

from mirp.settings.feature_parameters import FeatureExtractionSettingsClass
from mirp.settings.general_parameters import GeneralSettingsClass
Expand Down

0 comments on commit 18a1c68

Please sign in to comment.