Commit 7075ceac authored by Jan Kiene's avatar Jan Kiene
Browse files

Merge branch 'improve-ci-printout' into 'main'

CI: printout commit SHA after pulling from codec repo

See merge request !53
parents e4b2bb96 eb3cf44c
Loading
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -24,10 +24,10 @@ stages:

# print some info on the runner setup
.print-common-info: &print-common-info
  - echo "--------------------------------------------\n"
  - echo "--------------------------------------------"
  - python3 --version
  - pip3 freeze | grep "numpy\|scipy\|YAML\|pytest\|black\|isort\|flake8"
  - echo "--------------------------------------------\n\n"
  - echo "--------------------------------------------"


# script anchor for updating the codec repo
@@ -36,7 +36,12 @@ stages:
  # NOTE: CODEC_DIR has to be in PATH
  - cd $CODEC_DIR
  # make sure that we are at latest main
  - git pull
  # TODO: temporarily use the RC1a tag
  - git restore .
  - git checkout 20230511-RC1a-listening-tests
  - echo "--------------------------------------------"
  - echo "Building codec on commit $(git rev-parse HEAD --short)"
  - echo "--------------------------------------------"
  # only builds if code has actually changed
  - make -j
  - cd $dir
+2 −1
Original line number Diff line number Diff line
@@ -308,7 +308,8 @@ class ObjectBasedAudio(Audio):
            if pos.shape[1] < 5:
                raise ValueError("Metadata incomplete. Columns are missing.")
            elif pos.shape[1] > 5:
                if pos.shape[1] == 7:
                if pos.shape[1] <= 8:
                    # TODO: FIXME
                    pos = pos[:, :5]
                else:
                    raise ValueError(