Skip to content

Commit

Permalink
Migrate to MorphIO (#755)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benoit Coste authored Apr 15, 2021
1 parent 5e8d157 commit 77a4e1a
Show file tree
Hide file tree
Showing 86 changed files with 1,453 additions and 5,280 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ NeuroM documentation is built and hosted on [readthedocs](https://readthedocs.or
* [latest snapshot](http://neurom.readthedocs.org/en/latest/)
* [latest release](http://neurom.readthedocs.org/en/stable/)

## Migration to v2

Refer to [the doc page](https://neurom.readthedocs.io/en/latest/migration_v2.html) on this topic.

## Installation

It is recommended that you use [`pip`](https://pip.pypa.io/en/stable/) to install
Expand Down
7 changes: 4 additions & 3 deletions apps/morph_stats
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ import json
import logging
import sys

from morphio import SomaError
import neurom as nm
from neurom import exceptions
from neurom.exceptions import ConfigError
from neurom.apps import get_config
from neurom.apps.morph_stats import (extract_stats, generate_flattened_dict,
get_header, sanitize_config, full_config,
Expand All @@ -45,7 +46,7 @@ from neurom.utils import NeuromJSON
L = logging.getLogger(__name__)

IGNORABLE_EXCEPTIONS = {
'SomaError': exceptions.SomaError,
'SomaError': SomaError,
}


Expand Down Expand Up @@ -95,7 +96,7 @@ def main(args):
try:
config = get_config(args.config, EXAMPLE_CONFIG)
config = sanitize_config(config)
except exceptions.ConfigError as e:
except ConfigError as e:
L.error(str(e))
sys.exit(1)

Expand Down
105 changes: 0 additions & 105 deletions apps/raw_data_check

This file was deleted.

174 changes: 0 additions & 174 deletions benchmarks/benchmarks.py

This file was deleted.

64 changes: 0 additions & 64 deletions doc/source/api-dev.rst

This file was deleted.

Loading

0 comments on commit 77a4e1a

Please sign in to comment.