Skip to content
Please note that GitHub no longer supports your web browser.

We recommend upgrading to the latest Google Chrome or Firefox.

Learn more
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

Bug in ArcTest? Why run RemoveHTML? #369

Closed
lintool opened this issue Oct 26, 2019 · 1 comment

Comments

@lintool
Copy link
Member

@lintool lintool commented Oct 26, 2019

https://github.com/archivesunleashed/aut/blob/master/src/test/scala/io/archivesunleashed/ArcTest.scala#L105

Extract:

val mimeTypeCounts = RecordLoader.loadArchives(arcPath, sc)
      .map(r => RemoveHTML(r.getContentString))
      .groupBy(content => DetectMimeTypeTika(content.getBytes))
      .map(f => {
        (f._1, f._2.size)
      }).collect

Shouldn't RemoveHTML be RemoveHttpHeader?

@lintool

This comment has been minimized.

Copy link
Member Author

@lintool lintool commented Nov 5, 2019

Video chat with @ruebot and @ianmilligan1 - conclusion - this indeed is a bug.

@ruebot ruebot closed this in 6686519 Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.