-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix for issue #88 #89
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR. Can you have a look at my comments ? Thx, Steffen
@@ -80,7 +80,8 @@ readClusterDataFromProjectFile <- function(file, progress = FALSE) | |||
) | |||
base::close(con = file) | |||
|
|||
dataList <- readProjectData(fileLines = fileLines, progress = progress, qfeatures = qfeatures) | |||
dataList <- readProjectData(fileLines = fileLines, progress = progress, #qfeatures = qfeatures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure there isn't a trailing comma ?
@@ -215,7 +216,7 @@ readProjectData <- function(fileLines, progress = FALSE, qfeatures = NULL) | |||
} | |||
) | |||
######debugging | |||
|
|||
if(!is.null(qfeatures)){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please mention in a comment that qfeatures==NULL if the function was called from readClusterDataFromProjectFile().
Do we need an else for the branch to set metaboliteProfile$Annotation from the project file instead ?
@@ -292,6 +293,7 @@ readProjectData <- function(fileLines, progress = FALSE, qfeatures = NULL) | |||
} | |||
|
|||
## STN: Disabled. | |||
if(!is.null(qfeatures)){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, mention that qfeatures==NULL if the function was called from readClusterDataFromProjectFile().
And is an else branch needed ?
No description provided.