Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: BlueBrain/atlas-densities
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 54c348e452c71cfe45f1f57156514c200e7fb7a1
Choose a base ref
..
head repository: BlueBrain/atlas-densities
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0b9adece5e8e3bf0656b42a0a1f5802a5abba4fa
Choose a head ref
Showing with 1 addition and 3 deletions.
  1. +1 −1 atlas_densities/densities/fitting.py
  2. +0 −2 tests/app/test_mtype_densities.py
2 changes: 1 addition & 1 deletion atlas_densities/densities/fitting.py
Original file line number Diff line number Diff line change
@@ -334,7 +334,7 @@ def compute_average_intensities(
continue
work.append(_helper(annotation, gene_marker_volumes, id_))

res = Parallel(n_jobs=-2)(work)
res = Parallel()(work)
densities = (
pd.DataFrame(list(it.chain(*res)), columns=["marker", "id", "voxel_count", "density"])
.set_index("id")
2 changes: 0 additions & 2 deletions tests/app/test_mtype_densities.py
Original file line number Diff line number Diff line change
@@ -131,8 +131,6 @@ def test_mtype_densities_from_probability_map(tmp_path):
# fmt: on
],
)
print(result.stdout)
print(result.stderr)
assert result.exit_code == 0

BPbAC = VoxelData.load_nrrd(Path("output_dir") / "BP|bAC_EXC_densities.nrrd")