GithubHelp home page GithubHelp logo

uploadheatmaps's Introduction

uploadHeatmaps.sh

File Preparation

Start the import process by storing the data in an import folder. The directory should be: quip folder/data/heatmaps/input folder/ on the quip host server. You only need to copy the "heatmap_XXXXXXXXXXXXXXXXXX.json" files for import. The metadata file is unnecessary because the manifest contains the required data.

Under the input directory "import folder", with the heatmap files, you need to also add a manifest file that contains data about the heatmaps you are loading. The heatmap files and be distributed under multiple directories in the "import folder" as long as the path is defined in manifest with a relative path (i.e. "./study1/heatmap01.json").

Usage

To load the current input files with a manifest named "manifest.csv":

[ root@dockhost:~ ]$ docker exec -it quip-hmloader uploadHeatmaps.sh -c <PathDB Collection>  -i <input folder> -o <output folder> [options]

For the full usage info type:

bash-3.2$ ~/uploadHeatmaps/uploadHeatmaps.sh --help
Usage: $ uploadHeatmaps.sh [options] -c <pathDB_collection> -i <input folder> -o <output folder>
  Options:
    -c, --collection <pathDB_collection>: PathDB Collection for heatmaps (*this parameter required)
    -i, --input <input_folder>: Folder where heatmaps are loaded from (*this parameter required)
    -o, --output <output_folder>: Folder where converted heatmaps are imported from (*this parameter required)
    -q, --quip-host <host>: ip or hostname of PathDB Server (default: quip-pathdb)
    -h, --data-host <host>: ip or hostname of database (default: ca-mongo)
    -m, --manifest <manifest name> (default: manifest.csv)
    -d, --database <database name> (default: camic)
    -p, --port <database port> (default: 27017)

    --help Display full help usage.
  Notes: requires mongoDB client tools installed on running server

Depending on the number of images and their resolution it may take some time to complete. Do not stop the process until it completes. If an error occurs then no data will be uploaded.

uploadheatmaps's People

Contributors

jbalsamo avatar birm avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.