Skip to content

Commit

Permalink
Merge branch 'master' into 798-no-NEMO-dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
treerink committed Feb 17, 2024
2 parents d4f1d21 + 227d158 commit 35c7803
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ece2cmor3/versioncheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import argparse
import os

from ece2cmor3 import ece2cmorlib, __version__, cmor_utils
from ece2cmor3 import ece2cmorlib, __version__

def main(args=None):

Expand All @@ -24,13 +24,13 @@ def main(args=None):
from setup import get_git_hash
parser.add_argument('-V', '--version', action='version', version='%(prog)s ' + __version__.version + ' with sha: ' + get_git_hash())
elif case == 2:
from cmor_utils import get_git_hash
from ece2cmor3.cmor_utils import get_git_hash
parser.add_argument('-V', '--version', action='version', version='%(prog)s ' + __version__.version + ' with sha: ' + get_git_hash())
elif case == 3:
from setup import get_git_hash
parser.add_argument('-V', '--version', action='version', version='%(prog)s ' + __version__.version + ' ........................................ ece2cmor_git_revision: ' + get_git_hash())
elif case == 4:
from cmor_utils import get_git_hash
from ece2cmor3.cmor_utils import get_git_hash
parser.add_argument('-V', '--version', action='version', version='%(prog)s ' + __version__.version + ' ........................................ ece2cmor_git_revision: ' + get_git_hash())
elif case == 5:
parser.add_argument('-V', '--version', action='version', version='%(prog)s ' + __version__.version)
Expand Down

0 comments on commit 35c7803

Please sign in to comment.