nickmckay / iso2kNatureGeoscience2023

MIT License
0 stars 2 forks source link

Subpackages #1

Open Mattriks opened 11 months ago

Mattriks commented 11 months ago

Hi @nickmckay, The current folder structure is a bit messy for me! 😃 I'd prefer to arrange the code into subpackages. There's a julia example here: https://github.com/ma-laforge/PkgTestRoot.jl. I'm suggesting a structure like: / /Rpkgs /Juliapkgs

nickmckay commented 11 months ago

Well, nothing here is set in stone. I guess my logic was to arrange it by figures, so people could quickly find the code they're interested in without having to know what platform it was made on. For the utilities folder (for scripts and functions) I agree, we should make subfolders for each language. Do you think that would work?

Mattriks commented 11 months ago

We can experiment (or even start a new repo if the exp goes awry). Yes to subfolders for different languages. I think @samanthastevenson will have matlab code. Info on where to find what can go in the front readme. For my julia code, I'm implementing it as a Julia pkg, which a user could download in Julia with the command "add url" (works for subfolders too, as in the PkgTestRoot example) (and I'll put the "add url" info in the front readme).

nickmckay commented 11 months ago

OK,

That sounds good. I updated the structure a bit to match this. Please feel free to structure the utilities and other directories you need to support the package however makes sense, and then add the appropriate code/information in the figures directory.

On Thu, Aug 24, 2023 at 2:23 PM Mattriks @.***> wrote:

We can experiment (or even start a new repo if the exp goes awry). Yes to subfolders for different languages. I think @samanthastevenson https://github.com/samanthastevenson will have matlab code. Info on where to find what can go in the front readme. For my julia code, I'm implementing it as a Julia pkg, which a user could download in Julia with the command "add url" (works for subfolders too, as in the PkgTestRoot example) (and I'll put the "add url" info in the front readme).

— Reply to this email directly, view it on GitHub https://github.com/nickmckay/iso2kNatureGeoscience2023/issues/1#issuecomment-1692429884, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXPOZ5O3W42J2JTBYF2PFTXW7A6DANCNFSM6AAAAAA35K4TBE . You are receiving this because you were mentioned.Message ID: @.***>