NeuTu
  • About NeuTu
  • Overview
  • Get Started
    • Eager to try something COOL?
  • Main Windows
    • Home Window
    • Main Proofreading Window
      • Menu bars and drop-down
    • 3D Windows
  • Visualization
    • 2D Visualization
      • grayscale and segmentation
        • Change Body Color Arbitrarily
      • Synapses
      • Copy Information
    • 3D Visualization
      • Synapses
    • Orthogonal View
  • Body Proofreading
    • Body Lock
    • Correcting False Splits
    • Correcting False Merges
  • Annotation
    • Body Annotations
    • Bookmarks
    • Todo Annotation
    • Synapse Annotation
  • ROI
    • Create ROIs from Scratch
  • Hot Keys
  • Sequencer
    • Body Coloring
  • Protocols
    • Connection Validation
  • Measuring tool
  • Settings
    • Local Configuration
    • Meta Configuration in DVID
    • Command Line Options
  • Miscellaneous
    • DVID Data
  • Neuroglancer
    • Refresh
    • Annotations
      • Update Controls for Annotation Rendering
      • Import local annotations
Powered by GitBook
On this page
  • Settings Dialog
  • Config File
  • Remote Service
  • Task Server
  • Center Cut

Was this helpful?

  1. Settings

Local Configuration

PreviousSettingsNextMeta Configuration in DVID

Last updated 5 years ago

Was this helpful?

NeuTu can be configured to connect to external services, list default databases, and define behaviors for certain databases.

Settings Dialog

Config File

This field points to the path of the configuration file for general proofreading settings and predefined databases. The file is supposed to be a JSON file contain a JSON object. Some important fields in the JSON object include:

  • "librarian": address of the default librarian;

  • "neuroglancer server": address of the default neuroglancer server;

  • "dvid repo": an array of predefined DVID database settings, each itself being a JSON object. A brief schema of such an object can be seen below (if "user_name "is not specified, every user can see the settings):

JSON schema for dvid repo entry
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "properties": {
    "name": {
      "description": "name of the database setting",
      "type": "string"
    },
    "address": {
      "description": "host address of the DVID database",
      "type": "string"
    },
    "port": {
      "description": "port of the database",
      "type": "integer"
    },
    "uuid": {
      "description": "uuid of the DVID repo",
      "type": "string"
    },
    "segmentation": {
      "description": "name of the segmentation data",
      "type": "string"
    },
    "grayscale": {
      "description": "name of the grayscale data",
      "type": "string"
    },
    "comment": {
      "description": "comment of the database",
      "type": "string"
    },
    "user_name": {
      "description": "who can see this database setting",
      "type": "array",
      "items": [
        {
          "type": "string"
        }
      ]
    }
  },
  "required": [
    "address",
    "port",
    "uuid",
  ]
}
sample flyem_config.json
{
  "librarian": "emdata4.int.janelia.org:9100",
  "neutu_server": "neutuse:http://emdata2.int.janelia.org:2018",
  "neuroglancer server": "localhost:8080",
  "dvid repo": [
    {
      "name": "#profile#",
      "address": "emdata2.int.janelia.org",
      "port": 7000,
      "uuid": "7abe",
      "segmentation": "segmentation2",
      "grayscale": "grayscale",
      "comment": "2d merge"
    },
    {
      "address": "hackathon.janelia.org",
      "uuid": "2a31",
      "name": "FIB25-Hackathon",
      "segmentation": "segmentation",
      "grayscale": "grayscale",
      "comment": "FIB-25 export for hackathon",
      "user_name": ["user1", "user2"]
    }
  }

To specify a config file while launching NeuTu (same for Neu3), you can use the --load command argument. For example:

neutu --load <config_path>

where config_path is the path of the top-level config file, in which the candidate paths of flyem config file mentioned above can be added, such as

{ "flyem": ["../local_flyem_config.json", "flyem_config.json"] }

NeuTu will try to find the default config file in the order of the array.

Remote Service

Task Server

It sets the server for offline tasks. This one can be ignored.

Center Cut

These numbers control the size of the high-res patch at the center of the 2D view for grayscale and segmentation data.

"neutu_server": address of the default neutuse server (), which should have the pattern like neutuse:http://<address>;

"cleave server": address of the server for body cleaving ();

This points to remote computing services. Currently only the skeletonization service is available. You can follow the instructions from to set up the service. The service text should become green once you apply the settings, or it means the service is not run or connected properly.

https://github.com/janelia-flyem/neutuse
https://github.com/janelia-flyem/neuclease
https://github.com/janelia-flyem/neutuse
Global Settings Dialog