-
Notifications
You must be signed in to change notification settings - Fork 1
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
Readme commands are wrong #7
Comments
This goes back to the fact that I originally wrote everything under the assumption that we are always using a custom conda env, not a pre-made one. Therefore, I made this the first line of #!/usr/bin/env -S bin/conda/run.sh python That makes use of the conda run script that ensures all commands run within the custom env. However, given our recent discussions around needing to be able to use a pre-made env, you can now use the pre-made env by specifying a value for the
This requires that the conda env named by the If you like, I can enhance Let me know if you want me to make that enhancement. In the meantime, I'll simply update |
For completeness, here are all of the commands for dealing with algos and jobs as described in the
Simply place Again, I'll update the README.md accordingly, but I can make the enhancement described in the previous comment such that all of these maap-py related commands simply use an independent (auto-created) env that has only maap-py installed, and there would be no need to set the |
Hi @chuckwondo , no need to update the code right now. I've been running into issues getting everything to play nicely with the new strategy of setting the environment variable, but it's not important for today to spend time cleaning them up right now. For this week, I'm just going to be hacking at the code until I can get it to produce an output, which will get messy. Having both of us push commits to the same branch w/o PR review is going to cause merge conflicts. After the holidays, let's circle back to this discussion, and figure out a sustainable, more user-friendly strategy to move forward. Thinking of the big-picture, for the good of the project and users, if users need to include these extra boilerplate helper functions into their algorithms to interact with the platform, then that is an indication to me of shortcomings of the MAAP API/platform, which should be resolved at that level. |
I'm not suggesting that I push to the same branch. My recent push to the same branch was an accident. I meant to create a branch off of yours and the create a PR. Again, apologies, but fortunately the changes were very minimal, so hopefully not at all disruptive.
I heartily agree that there is quite a bit that the platform team can do to make things more user-friendly, and that we should not require a bunch of "helper" scripts included in every algo repo. IMO, there should be a |
Love it. :) As an extension of this exercise, it seems you have identified a list of needs! |
I actually already implemented much of it a few months ago, but haven't managed to circle back to pushing an initial version of it. :-) |
Most of the commands in the Readme don't work at expected unless you add
python
to the front of them to make sure the correct python is used.example, no idea why this would trigger an env build
works correct
The text was updated successfully, but these errors were encountered: