Skip to content

Commit

Permalink
Resolve race condition on import ("circular" import) of StudyAccess.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmymathews committed Sep 14, 2023
1 parent 85ef28e commit 3bba88a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spatialprofilingtoolbox/db/accessors/cggnn.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Convenience access of cg-gnn metrics."""

from spatialprofilingtoolbox import get_feature_description
from spatialprofilingtoolbox.db.accessors import StudyAccess
from spatialprofilingtoolbox.db.accessors.study import StudyAccess
from spatialprofilingtoolbox.db.database_connection import SimpleReadOnlyProvider
from spatialprofilingtoolbox.db.exchange_data_formats.metrics import CGGNNImportanceRank

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from spatialprofilingtoolbox.db.exchange_data_formats.metrics import CellFractionsSummary
from spatialprofilingtoolbox.db.exchange_data_formats.metrics import CellFractionsAverage
from spatialprofilingtoolbox.db.exchange_data_formats.metrics import FeatureAssociationTest
from spatialprofilingtoolbox.db.accessors import StudyAccess
from spatialprofilingtoolbox.db.accessors.study import StudyAccess
from spatialprofilingtoolbox.db.cohorts import _replace_stratum_identifiers
from spatialprofilingtoolbox import get_feature_description
from spatialprofilingtoolbox.db.database_connection import SimpleReadOnlyProvider
Expand Down
2 changes: 1 addition & 1 deletion spatialprofilingtoolbox/db/accessors/phenotypes.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""Convenience accessors/manipulators for phenotype data."""
from spatialprofilingtoolbox.db.exchange_data_formats.metrics import PhenotypeSymbol
from spatialprofilingtoolbox.db.exchange_data_formats.metrics import PhenotypeCriteria
from spatialprofilingtoolbox.db.accessors import StudyAccess
from spatialprofilingtoolbox.db.accessors.study import StudyAccess
from spatialprofilingtoolbox.db.database_connection import SimpleReadOnlyProvider


Expand Down

0 comments on commit 3bba88a

Please sign in to comment.