-
-
Notifications
You must be signed in to change notification settings - Fork 5
Overall organization of the project: about sub-packages #148
Comments
I think we should also have a maximum depth as having 3 folders deep is already quite long: |
so how about this:
|
I like it! |
for brevity, should we instead to without the "ing"? i.e.
vote with thumbs up/down |
There is also |
the idea is to get rid of these additional layers, i.e. imutils/b0/mappers → b0map |
So the |
there is no more "mappers". Here is how it would look like:
|
So where do we place the function that calls |
how about under
|
Ok I'll just look for a way to not take it into account when I display the different methods available in the error message. |
you still have the option of a dict if there is no other elegant solution |
above plan sounds good to me. a few (likely obvious) comments/suggestions:
main/general point, as w/everything else: Weigh the pros vs. cons for maintainable code (i.e. logical, readable, concise, organized, etc.—in a word: comprehensible) |
I'd like to put all the unwrappers in |
ok, i've updated the "final solution" in the first comment. Please all: if you could fill the structure as much as possible with the already-existing functions (and the ones we anticipate to create), it would be great. We should have an overview of the overall architecture before implementing it. |
Nominally, the list consists of the different cases called in the switch statement in |
i definitely think we should include a wrapper for prelude |
i suggest we use single convention for "nii" here: load_niftis → load_nii |
I have wrapper Matlab code for BET and PRELUDE that I can upload if it would be helpful. The tricky part is making that the correct FSL environment is set so that Matlab can find FSL on the machine. |
To keep track of what has been discussed during this week's meeting: we decided to go with sub-packages ( |
@gaspardcereza could you pls update the prototype (at the top of this thread) with the latest decisions? thx |
i've updated shimming-toolbox/shimming-toolbox#148 (comment) to use full snake_case, and implemented shimming-toolbox/shimming-toolbox#148 (comment) |
Here are other functions that need to be worked on to continue the refactoring : +unwrap
+misc
+b0map
+b0shim/+compute/
|
I'll check the PMU part between code review. It will help me to better understand the project. |
Context
As we are currently refactoring the project, we are developing a lot of image-processing methods under
+imutils
.We should anticipate how/where all functions/packages of the toolbox will be organized, before it is too late.
Potential solution
The following is a suggestion for packages/functions:
NOTE: The example above is a WIP, please everyone feel free to edit it and/or comment
2020-06-22 14:37:27: still missing: aux_harware, Ui, misc, example (probably not package), external, tests
The text was updated successfully, but these errors were encountered: