Skip to content

Commit

Permalink
Only import Monitor model if not on github or rtd
Browse files Browse the repository at this point in the history
  • Loading branch information
bhilbert4 committed Jan 28, 2025
1 parent a47bc83 commit 3bf55c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jwql/utils/monitor_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
from jwql.utils.constants import ON_GITHUB_ACTIONS, ON_READTHEDOCS
from jwql.utils.logging_functions import configure_logging, get_log_status
from jwql.utils import mast_utils
from jwql.website.apps.jwql.monitor_models.common import Monitor


# Increase the limit on the number of entries that can be returned by
Expand All @@ -41,6 +40,7 @@
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "jwql.website.jwql_proj.settings")
setup()
from jwql.website.apps.jwql.models import RootFileInfo
from jwql.website.apps.jwql.monitor_models.common import Monitor


def exclude_asic_tuning(mast_results):
Expand Down

0 comments on commit 3bf55c6

Please sign in to comment.