INCATools / ontology-development-kit

Bootstrap an OBO Library ontology
http://incatools.github.io/ontology-development-kit/
BSD 3-Clause "New" or "Revised" License
223 stars 54 forks source link

odk hardcodes path only available in docker env: #234

Open cmungall opened 5 years ago

cmungall commented 5 years ago

https://github.com/INCATools/ontology-development-kit/blob/cac94046d633e88acaa515a256b311a6697ea3ce/odk/odk.py#L521

this should specify the relative path for maximum portability

If a different path is required in the docker container, then this should be passed in the docker conf

dougli1sqrd commented 5 years ago

What do you mean here that this should specify the relative path? Looking at the odk.py, say in print(mg.generate('{}/_dynamic_files.jinja2'.format(templatedir))) I think this would support a relative path already. Like, if templatedir is a relative path I think the templating still works, right?