-
Notifications
You must be signed in to change notification settings - Fork 6
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
Allowing reading for BD Accuri C6 and Attune files #13
Conversation
Thank you @vogu66, could you please add tests? Unfortunately, it also looks like I never got around to updating the testing infrastructure for this package. It still uses Travis CI, which has been broken for awhile. At some point, I'll need to update it to use Github Actions. In the meantime, could you verify that the tests pass locally? |
Sure, I'll get around to seeing how that works. I just tried to access the urls in the test.jl file and they seem unavailable. Maybe we can use files from the python package (https://github.com/cytoflow/fcsparser) for some of the testing, though I know some of them can't be read in Julia yet.
@LucasH1997 you can also have a look at it if you've got the time. |
@tlnagy the testing files that were online aren't accessible at those addresses anymore. I replaced one with a link to a file from the python parser (https://github.com/eyurtsev/fcsparser/blob/master/fcsparser/tests/data/FlowCytometers/FACSCaliburHTS/Sample_Well_A02.fcs) but the large file from the python parser can't be read from julia (even before my changes). Do you have working links towards the files? |
I believe the links were added by @laurentheirendt and @exaexa (and hosted on their infrastructure). Unfortunately, I don't have access to them separately.
Which file is that? |
So once I merge #14, we'll have CI back up and running so I'll need you to rebase this PR on master and then we can make sure the tests are working. |
These are the links to You can get the files manually from here: https://flowrepository.org/experiments/4/download_ziped_files (flowrepo disabled simple downloading of single files, I guess because of bandwidth problems) |
Yeah, looks like it: Line 14 in 0839083
Might be possible to load them in a separate github repo and do a submodule clone, we do something like that over in |
That might actually be for the best for the module, as the tests are downloaded with it. When there will be more test files we don't really need everyone to have all that data on their computer, because if every package did that Julia would get very storage-hungry. |
I think that's done |
It doesn't pass the tests I added because it doesn't find the files, but locally, when I comment out the original "big file" test, it works again, I'm guessing it's changing the directory with the error somehow. |
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 taking the time to update the PR, I've left a couple minor comments below.
Once I merge #16, several example dataset will now live over in https://github.com/tlnagy/fcsexamples and will be downloaded only when you run the tests. There's an example Accuri C6 fcs file in that repo. Do you mind rebasing this PR once I merge #16 again? I think it'll be ready to merge then. |
This is great, thanks! |
[fixing tests for rebase]
should be good, I think I guess it should also more or less fix #4, although I consider in every case 32 bit integers here, and not variable length as in the standard. |
Thanks for getting this done! I'll push this out as part of the |
Well, thanks for the rest of the package |
Didn't realize I accidentally skipped a release, this'll be part of the |
We added the ability to read floats in addition to integers and we fixed a problem with BD Accuri files where two offsets for an optional section were not defined. We can also provide test file for either machine.