Skip to content

Commit

Permalink
fix stoping if project has tags other than tcga (#78)
Browse files Browse the repository at this point in the history
* fix stoping if project has tags other than tcga

Co-authored-by: Nemanja Boskovic <[email protected]>
  • Loading branch information
nemanjab17 and Nemanja Boskovic authored Mar 22, 2021
1 parent cd115ca commit 7ef4328
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.Rproj.user
.Rhistory
.RData
.idea
.DS_Store
hooks
6 changes: 6 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# sevenbridges 1.19.3

## Bug Fixes

- Fixed issue of stoping when fetching project with tags

# sevenbridges 1.19.2

## Improvements
Expand Down
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# sevenbridges 1.19.3

## Bug Fixes

- Fixed issue of stoping when fetching project with tags

# sevenbridges 1.19.2

## Improvements
Expand Down
8 changes: 0 additions & 8 deletions R/class-project.R
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,6 @@ Project <- setRefClass(
root_folder = "", created_by = "",
created_on = "", modified_on = "", ...) {
if (is.null(id)) stop("id is required")

# FIXME in the future
if (length(tags)) {
if (tags != "tcga") {
stop("tags has to be empty list() (default) or 'tcga' for now")
}
}

id <<- id
name <<- name
billing_group_id <<- billing_group_id
Expand Down

0 comments on commit 7ef4328

Please sign in to comment.