ki-tools / kitools-py

Tools for working with data in Ki analyses
Apache License 2.0
3 stars 0 forks source link

Change `data_path` from an attribute to a method #23

Open hafen opened 5 years ago

hafen commented 5 years ago

I think a nice practical function for getting local paths for data resources would be to change data_path from an attribute to a method.

The method would work as follows:

pcstout commented 5 years ago

@hafen How about a new method called data_path_for(remote_uri)?

hafen commented 5 years ago

I'm not sure what I think about data_path_for(). Maybe get_data_path().