import-ontologies revision 49f4112620975dae84bcd13f02667b00f16a3448
require 'getoptlong'
$stderr << "#{File.basename( $0 )} [options] [dirs]
Imports ontology files from several directories into Ontohub.
-h This help.
-r Do not use redis for parsing jobs.
-u <uid> ID of user which should own imported objects.
"
exit 1
end
)
redis = true
uid = 1
allowed_extensions = %w(clif clf owl)
case option
when '-h'
when '-r'
redis = false
when '-u'
end
end
o = Ontology.new
o.iri = "file://#{file}"
ov.ontology = o
if redis
else
end
end
end
end