-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from bbglab/27-openvariant--failing-with-pytho…
…n-313 Openvariant | Failing with Python 3.13
- Loading branch information
Showing
11 changed files
with
469 additions
and
481 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,22 @@ | ||
import pkg_resources | ||
from multiprocessing import set_start_method | ||
|
||
from openvariant.annotation.annotation import Annotation | ||
from openvariant.tasks import cat, count, group_by | ||
from openvariant.variant import Variant | ||
from openvariant.find_files import findfiles | ||
|
||
version = pkg_resources.require("open-variant")[0].version | ||
__version__ = version | ||
try: | ||
from importlib.metadata import version # Python 3.8+ | ||
except ImportError: | ||
from importlib_metadata import version # Backport for older versions | ||
|
||
__version__ = version("open-variant") | ||
|
||
# Set multiprocessing start method to 'spawn' | ||
try: | ||
set_start_method('spawn', force=True) | ||
except RuntimeError: | ||
pass | ||
|
||
__all__ = ['Annotation', 'Variant', 'cat', 'count', 'group_by', 'findfiles'] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.