Skip to content

Commit

Permalink
file to rdf provider function
Browse files Browse the repository at this point in the history
  • Loading branch information
cahytinne committed Jul 30, 2015
1 parent 90b4182 commit d84073e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions atramhasis/scripts/import_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
from sqlalchemy.engine import url



def file_to_rdf_provider(input_file, input_name, input_ext):
def file_to_rdf_provider(input_file):
'''
Create RDF provider from the input file
'''''
input_name, input_ext = os.path.splitext(os.path.basename(input_file))
graph = Graph()
graph.parse(input_file, format=guess_format(input_ext))
return RDFProvider(
Expand Down

0 comments on commit d84073e

Please sign in to comment.