Skip to content

Commit 98939e0

Browse files
committed
morans I config and changelog
1 parent dba5188 commit 98939e0

2 files changed

Lines changed: 2 additions & 15 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
* Added `spaTrack` method (PR #4).
1010
* Added `Spearman's correlation` metric (PR #5).
11+
* Added `Moran's I`metric (PR #6)
1112

1213
## MAJOR CHANGES
1314

src/metrics/morans_i/config.vsh.yaml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ __merge__: ../../api/comp_metric.yaml
22

33
name: morans_i
44

5-
6-
7-
# Metadata for your component
85
info:
96
metrics:
107
- name: morans_i
@@ -44,31 +41,22 @@ info:
4441
documentation: https://scanpy.readthedocs.io/en/stable/api/generated/scanpy.metrics.morans_i.html
4542

4643
repository: https://github.com/scverse/scanpy
47-
# The minimum possible value for this metric (required)
4844
min: -1
49-
# The maximum possible value for this metric (required)
5045
max: 1
51-
# Whether a higher value represents a 'better' solution (required)
5246
maximize: true
5347

54-
# Component-specific parameters (optional)
5548
arguments:
5649
- name: "--n_neighbors"
5750
type: "integer"
5851
default: 6
5952
description: Number of spatial neighbours used to build the k-NN graph.
6053

61-
# Resources required to run the component
6254
resources:
63-
# The script of your component (required)
6455
- type: python_script
6556
path: script.py
66-
# Additional resources your script needs (optional)
67-
# - type: file
68-
# path: weights.pt
57+
6958

7059
engines:
71-
# Specifications for the Docker image for this component.
7260
- type: docker
7361
image: python:3.11-slim
7462
setup:
@@ -89,9 +77,7 @@ engines:
8977
- "openproblems-bio/core#subdirectory=packages/python/openproblems"
9078

9179
runners:
92-
# This platform allows running the component natively
9380
- type: executable
94-
# Allows turning the component into a Nextflow module / pipeline.
9581
- type: nextflow
9682
directives:
9783
label: [midtime,midmem,midcpu]

0 commit comments

Comments
 (0)