Giter Site home page Giter Site logo

delivery's Introduction

Simple script, wrapping mover deliveries

Installation

conda create --name=ugc_delivery_script python=2.7
source activate ugc_delivery_script
pip install -r requirements.txt

Running

The delivery script is run on a single directory, which should contain all files to be delivered. You also need to specify a staging area, to which the delivery will first be copied before handing it over to Mover. It's also necessary that the email given is the email that the responsible PI has listed in Supr.

Here is an example of how to run the script:

# You need to be in the python environment in which you installed the
# script dependencies before you can run it.
source activate ugc_delivery_script
python deliver.py --project dummy --sensitive --path test_delivery/ --staging_area staging_area/ --email '[email protected]' --supr_url https://disposer.c3se.chalmers.se/supr-test/api --supr_api_user <your api user> --supr_api_key <your api key>

Please note that the values here need to be substituted with real values for this to work, and the supr_url needs to be pointing to the real supr instance, at https://supr.snic.se/api

The project parameter decides that base name for the delivery project in Supr, which will be created on the format DELIVER_<project_name>_<current date>

delivery's People

Contributors

b97pla avatar

Watchers

James Cloos avatar iggy 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.