Skip to content
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

Create a popper compliant submodule with experiments #3

Open
carlosmalt opened this issue Jan 28, 2020 · 1 comment
Open

Create a popper compliant submodule with experiments #3

carlosmalt opened this issue Jan 28, 2020 · 1 comment

Comments

@carlosmalt
Copy link
Owner

carlosmalt commented Jan 28, 2020

I'd like to use this project as a "textbook example" for using Popper in our lab, for class projects, and for GSoC. Also, I've been trying to gain some headway (see popperized branch) but ran into some roadblocks. I blame a combination of my ignorance of containerization concepts (probably not that unusual among potential users) and missing documentation/tutorials.

@carlosmalt
Copy link
Owner Author

This was surprisingly hard:

  1. I had to figure out that complex error messages meant that I simply wasn't running Docker
  2. I wasn't sure at all how to run a Python script -- "Getting Started" only showed examples of shell scripts. It took me a while to discover popper search for finding appropriate actions.
  3. I had to figure out that popper run was running main.workflow by default but if you provide that as an argument, it interpreted that argument as an action
  4. I had to figure out how to correctly set paths in actions so that Docker images generated from these actions would work correctly (Thank you, @ivotron )
  5. I had to understand how virtual environments for python work (virtualenv, python -m venv, and pyenv)
  6. I had to find out that my actions failed because I put the repository in a Google Drive File Stream directory! These file sharing apps really mess with shell environments and name spaces -- both pretty essential for constructing popper workflows. (Thank you, @ivotron )

I filed a number of issues at Popper to help improve Popper's "Getting Started" documentation. 'Cause Popper's pretty cool once it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant