Skip to content

add strType == "traced" compatibility#18

Open
skelly001 wants to merge 1 commit intodavidcsterratt:masterfrom
skelly001:develop
Open

add strType == "traced" compatibility#18
skelly001 wants to merge 1 commit intodavidcsterratt:masterfrom
skelly001:develop

Conversation

@skelly001
Copy link
Copy Markdown

I found my imageJ (Fiji) ROI file data has strType == "traced", which was not included in ij2spatstat(). This added functionality allows for generation of the desired psp object (tested on my own data)

@davidcsterratt
Copy link
Copy Markdown
Owner

Thank you for this commit. I'm wondering if it would be possible for you to add a test case for the code. You'd need to

  • Put a traced.roi file into inst/extdata/ijroi with known coordinates
  • Add some lines to tests/test/testthat/test-readroi.R with a traced context following the pattern of the existing tests.

If this is too much, don't worry - I've not got tests for all types as it stands.

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.

2 participants