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

Destination file processing in for loop? #2

Open
philipsoutham opened this issue Mar 21, 2020 · 0 comments
Open

Destination file processing in for loop? #2

philipsoutham opened this issue Mar 21, 2020 · 0 comments

Comments

@philipsoutham
Copy link

@lewismc Continuing from #1

Looks like you fixed the output problem, but introduced a new problem by putting the opening of the destination file within the for loop.

files foreach { file =>
println(s" loading ${file.getCanonicalPath}")
val graph = new File("covid19_knowledge_graph.ttl")
graph.createNewFile()
val model = RDFDataMgr.loadModel("covid19_knowledge_graph.ttl")

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

No branches or pull requests

1 participant