Notebooks, examples and data files #202
Replies: 3 comments 2 replies
-
I think it was to have less packages to maintain, especially since PTT development had slowed down. And also so users could get it all in one place/package. We will still have pip and conda PTT in the wild, but users should transition to GPlately.
As you noted, this was the reason for adding
Sounds fine to me, especially if the example data is quite large. I know getting PyPI to approve package size updates requires a bit of waiting (had that with pyBacktrack when adding new topological models to the package). Alternatively could just document the download link (for the examples) in the documentation, and the user manually downloads. |
Beta Was this translation helpful? Give feedback.
-
Shall we delete https://github.com/GPlates/gplately/blob/master/gplately/ptt/documentation.py? |
Beta Was this translation helpful? Give feedback.
-
the notebooks/examples can also be put into a dock image |
Beta Was this translation helpful? Give feedback.
-
Currently the gplately notebooks and data files are excluded from the package. The reason is that the notebooks and associated data files are large. And users may have trouble in finding them. For example, in my computer, they are at ~/micromamba/envs/gplately/lib/python3.11/site-packages/gplately/notebooks. I can find them, but I guess other people might find it easier to just download them from Internet.
PTT uses install_documentation() to copy examples from ~/micromamba/envs/gplately/lib/python3.11/site-packages/ptt/Examples to a user specified folder. Should we write a function to grab notebooks and data files from Internet, instead of installing them in users' computers by default?
Discussion is needed and decision need to be made.
Beta Was this translation helpful? Give feedback.
All reactions