Skip to content

Commit

Permalink
access-om2-bgc: Attempting to use importlib instead of direct importing
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeGat committed Mar 21, 2024
1 parent b1e64fd commit 9df3c86
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/access-om2-bgc/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack.package import *
from spack.pkg.access.nri import AccessOm2
import importlib

class AccessOm2Bgc(AccessOm2):
access_om2 = importlib.import_module("spack.pkg.access-nri.access-om2")

class AccessOm2Bgc(access_om2.AccessOm2):
"""ACCESS-OM2 bundle contains the coupled CICE5 and MOM5 (BGC variant) models."""

git = "https://github.com/ACCESS-NRI/ACCESS-OM2-BGC.git"
Expand Down

0 comments on commit 9df3c86

Please sign in to comment.