Skip to content
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

Closed
wants to merge 1 commit into from
Closed

fix for issue #88 #89

wants to merge 1 commit into from

Conversation

NorStorz
Copy link
Contributor

@NorStorz NorStorz commented Feb 4, 2025

No description provided.

Copy link
Member

@sneumann sneumann left a 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
Copy link
Member

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)){
Copy link
Member

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)){
Copy link
Member

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 ?

@gpatoine gpatoine closed this Feb 6, 2025
@NorStorz NorStorz deleted the devel branch February 6, 2025 13:44
@NorStorz NorStorz restored the devel branch February 6, 2025 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants