-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Improved template script for atlas integration #399
Comments
I see this is a duplicate of #242 however the script that was created there seems to no longer exist. there is example mouse however I still feel implementation of the above would constitute an improvement. |
I think this is a good idea - we've had similar discussions internally before (that I failed to document 😅 - thanks for opening this issue): The alternative is that we refactor (#219 and related issues) and then have an actual working script (we need to identify the simplest, most emblematic one) that we point to in the developer docs as the "poster child" of packaging scripts, and therefore as the pattern to follow. The alternative is what was slightly preferred in those discussions, because
What do you think @PolarBean ? |
I think the danger of this is that you will always have atlas specific code. beginners will struggle to know what is strictly required and what was a quirk of that atlas. It's also just nice to point someone to a form like script, and say fill this out. I think both could be nice, one template script with code separated into relatively self contained functions, and another poster child which uses that template. I'm happy to keep working on this and create an implementation of the above template! |
I used to argue against a template script, because we had a functional script that wasn't (IMO) a sufficient abstraction to allow new contributors to learn what was needed. However, I like @PolarBean's version, as it's as much of a teaching tool as it is a template. It also shouldn't need much maintenance. I would vote for:
|
Happy with this too. cc @viktorpm so we coordinate the refactoring of the packaging scripts well 🙂 |
Is your feature request related to a problem? Please describe.
I feel at the moment atlas integration is a bit complex. It seems like the atlas integration scripts can become a bit unwieldy, with unclear separation between each stage.
Describe the solution you'd like
Have a simplified template script for atlas integrators to use. The basic idea would be set it up such that there are several functions that a user must fill out where the output values are clearly defined. here is a basic untested sketch of the idea which needs more work. We could as well move a lot of mesh creation logic into helper functions. Let me know your thoughts.
The text was updated successfully, but these errors were encountered: