Skip to content

Commit

Permalink
Hotfix to import statement for StudyAccess.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmymathews committed Sep 15, 2023
1 parent dd93f8d commit 0bf5713
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions spatialprofilingtoolbox/ondemand/service_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
CompositePhenotype,
UnivariateMetricsComputationResult,
)
from spatialprofilingtoolbox.standalone_utilities.log_formats import colorized_logger

logger = colorized_logger(__name__)

class OnDemandRequester:
"""TCP client for requesting from the on-demand service."""
Expand Down Expand Up @@ -175,4 +177,5 @@ def _get_ondemand_host_port(service: str | None = None):
if host is None or port is None:
message = 'Specify ONDEMAND_HOST and ONDEMAND_PORT or else a specific service variant.'
raise EnvironmentError(message)
logger.debug('Host and port (with service "%s"): %s', service, (host, port))
return (host, port)
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from psycopg2.extensions import cursor as Psycopg2Cursor

from spatialprofilingtoolbox.db.expressions_table_indexer import ExpressionsTableIndexer
from spatialprofilingtoolbox.db.study_access import StudyAccess
from spatialprofilingtoolbox.db.accessors.study import StudyAccess
from spatialprofilingtoolbox.workflow.common.logging.fractional_progress_reporter \
import FractionalProgressReporter
from spatialprofilingtoolbox.standalone_utilities.log_formats import colorized_logger
Expand Down

0 comments on commit 0bf5713

Please sign in to comment.