[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [IMP-dev] runtime question



Each module has a get_data_path(file_name) function that returns the path to a file named "file_name" located in the data directory (whether you are running it our of the build dir or have installed IMP). For some reason the methods are currently excluded from the docs. I'll fix that.

Similarly, there is a get_example_path(file_name) that returns the path to a file in the example directory (to be used in writing examples that load data).


On May 20, 2012, at 9:43 PM, Keren Lasker wrote:

> daniel -
> i have scripts that copy from module/data folder. how can i access that in runtime from python without using $IMP/module/data?
> keren.