Skip to content

Commit 48bae90

Browse files
committed
Update circleci config
1 parent 19acf52 commit 48bae90

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.circleci/config.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ workflows:
77
jobs:
88
install-and-test:
99
docker:
10-
- image: cimg/python:3.9
10+
- image: cimg/python:3.10.6
1111
working_directory: ~/repo
1212
steps:
1313
- checkout
@@ -23,14 +23,15 @@ jobs:
2323
# Export path
2424
export PATH="$HOME/miniconda/bin:$PATH"
2525
hash -r
26-
26+
2727
# Set conda parameters
2828
conda config --set always_yes yes --set changeps1 no
2929
conda config --add channels conda-forge
3030
conda config --set channel_priority strict
31-
31+
3232
# Set up environment
33-
conda create -n morphman morphman
33+
conda install mamba
34+
mamba create -n morphman morphman
3435
3536
# Activate environment
3637
source activate morphman

morphman/common/surface_operations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ def prepare_output_surface(surface, original_surface, new_centerline, output_fil
503503
# Get relevant points
504504
tmp_points = points[region_id == i]
505505

506-
# Get normal
506+
# Get slightly downscaled normal
507507
tmp_normal = np.cross(tmp_points[0] - tmp_points[-1],
508508
tmp_points[0] - tmp_points[tmp_points.shape[0] // 2])
509509
normal = tmp_normal / np.sqrt(np.sum(tmp_normal ** 2) * 1.02)

0 commit comments

Comments
 (0)