Giter Club home page Giter Club logo

sevenbridges-r's People

Contributors

duxan avatar emyo avatar nanxstats avatar nemanjab17 avatar sbgtengfei avatar tengfei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sevenbridges-r's Issues

Sync Check with API v2

Check if the API interface supported in core.R are synced with API v2.

Add, delete, or modify necessary parts to ensure consistency.

Remove Trailing Spaces

This task is aimed for

  1. removing all trailing spaces and unnecessary blank lines in all relevant files, especially R files.
  2. updating the project configuration file .Rproj to make this the default setting if people contribute with RStudio.

This option is hidden in RStudio:

Single project-wise:
Build - Configure build tools - Code editing - Strip trailing horizonal whitespaces when saving

Global-wise:
Tools - Global options - Code - Saving - Strip trailing horizonal whitespaces when saving

Upload via a manifest file

what is a manifest file
http://docs.sevenbridges.com/docs/format-of-a-manifest-file

Supported in GUI and command line uploader, so in R API client we want to do

  • interface allow you to specify which meta to keep and to ignore, by default, upload all meta with files
    p$upload(manifest_file = , manifest_metadata = TRUE, meta.keep = NULL, meta.ignore = NULL, verbal = FALSE) # with metadata = TRUE by default
  • Validation: check file exists or not and stop if not all satisfied, assumption here is that user provide a manifest, it has to work and all files need to exists.
  • Uploading files: print files info in verbal mode otherwise just progress bar

support for SBG "Test" tab

I test multiple revisions of a tool on CGC/SBG platform. Every time the revision is pushed the "Test" tab is blanked out and I have to re-input to test the command line expression.

Would be great if I could add the "Test" information via R script.

Build vignettes failed when installing from github

Hi,

When installing from github:

source("http://bioconductor.org/biocLite.R")
useDevel()
biocLite("BiocUpgrade")
library(devtools)
install_github("tengfei/sevenbridges", build_vignettes=TRUE, 
  repos=BiocInstaller::biocinstallRepos(),
  dependencies=TRUE, type = "source")

I get an error:

Quitting from lines 155-183 (bioc-workflow.Rmd) 
Error: processing vignette 'bioc-workflow.Rmd' failed with diagnostics:
invalid assignment for reference class field 'token', should be from class "character" or a subclass (was class "NULL")
Execution halted

It is a tiny issue - pull request that fixes it is #1

p.s. great work btw.

R API issues with Cavatica

When I follow the tutorial for the R API in sbg (adapted for Cavatica, http://docs.sevenbridges.com/v1.0/reference#api-r-library, I get the following error Error in envRefSetField(.Object, field, classDef, selfEnv, elements[[field]]) : when creating a task (see screenshot).

This prevents the tsk object from being created. The task is still running, but I get this error message each time I handle the tsk object and it’s not possible to download it.

Any idea of what is happening there?
screen shot 2017-02-15 at 11 17 00 pm

export FilesList() to users and make sure single file works in case of file array

Public API related validation question

  • when file array specified, should I pass a single file a list of a single file
  • when file[not array] specified, can I pass a single file or a list of a single file

need to test and need clear documentation, or make the R API extremely simple so user won't think about it or worry about it at all.

fix annoying warning

This is caused by reference class, hard to debug, but let me try to fix it by April 20.

Improve CWL workflow construction in R

Currently t1 %>>% t2 only support simple flow simple matching, but we need flexible extra parameter in Flow function, that allow user to connect by id directly, so they can create non-linear or complex flow from R script easily.

lift single R markdown into everything

from R markdown with headers into

  1. command line script
  2. Dockerfile
  3. cwl json file
  4. combined with API client, when token provided, push to repos you specified. should I support any public repos config?

test with rabix/bunny

How we make it better integrated with bunny? Can we run local test from bunny for our CWL Tool or Flow object? This enhancement is going to be easier for developers to test their app with test data (maybe in the IDE container?) need more discussion and brainstorm on this.

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.