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

Features/42 read asc perkin elmer #47

Merged
merged 16 commits into from
Aug 10, 2021

Conversation

sangttruong
Copy link

@sangttruong sangttruong commented Aug 1, 2021

Add unit test for read_asc_PerkinElmer.R
Resolve #42

Copy link
Member

@GegznaV GegznaV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added comments before

@GegznaV GegznaV mentioned this pull request Aug 2, 2021
for(flu in flu_file){
expect_message(spc <- read_asc_PerkinElmer(flu))

expect_equal(length(spc@wavelength), 181)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checking the length only is fine with me - but if we check the colnames of $spc, it is inconsistent not to check the actual wavelengths.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The values of the lowest, the highest, and a few internediate wavelengths should be checked in addition to the length of this vector.

Copy link
Collaborator

@bryanhanson bryanhanson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks fine, but the checks fail due to a missing function? Is that function in the develop branch already, so if we merge, it will be fine? If so, consider this approved and merge it at your convenience. Otherwise please figure out where that renamed function is, I've seen it discussed today but don't recall where.

Copy link
Member

@GegznaV GegznaV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sangttruong, add unit tests defined in template #55 as additional tests to the current ones.

@GegznaV GegznaV marked this pull request as draft August 9, 2021 12:19
@sangttruong sangttruong marked this pull request as ready for review August 10, 2021 01:32
Copy link
Collaborator

@bryanhanson bryanhanson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like all requested changes have been addressed. Go ahead and merge it.

@sangttruong sangttruong merged commit 052e8c4 into develop Aug 10, 2021
@sangttruong sangttruong deleted the features/42-read_asc_PerkinElmer branch August 10, 2021 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Review, add and improve unit tests
4 participants