Giter Site home page Giter Site logo

Comments (8)

bastorer avatar bastorer commented on July 26, 2024

Making notebook versions of the tutorial python scripts is a good idea!

I'm not very familiar with conda, but agree that giving explicit library dependencies would be helpful. I'll look into those this week.

from flowsieve.

NoraLoose avatar NoraLoose commented on July 26, 2024

Let's try to work toward closing this issue.

  • I'll leave it up to you if you want to include a jupyter notebook for this tutorial or not.
  • But I think providing an environment.yml for the required python dependencies (for all tutorials together, so I would place it here with some instructions) would be very helpful - then I can also tick off the following reviewer box :)
Is there a clearly-stated list of dependencies? Ideally these should be handled with an automated package management solution.

from flowsieve.

bastorer avatar bastorer commented on July 26, 2024

Notebook added :-)

I've added an environment file listing the versions that I used why I ran the tutorials. I'm not very familiar with .yml files, but I think I've got it formatted correctly.

from flowsieve.

NoraLoose avatar NoraLoose commented on July 26, 2024

You can check whether your conda environment works correctly by following the steps here.

  • A quick test tells me that cmocean is missing in the environment.yml file. There may be other packages missing. Could you check if all tutorials are running after activating the FlowSieve-tutorial-env environment? Thanks!
  • It would be great if you could add instructions to https://github.com/husseinaluie/FlowSieve/blob/master/Tutorial/TUTORIAL.md on how to create and activate the conda environment before running any of the tutorials.

from flowsieve.

bastorer avatar bastorer commented on July 26, 2024

I'm running into permissions issues with conda env. I'll try switching to a different server to see if I can test the environment there :-)

from flowsieve.

bastorer avatar bastorer commented on July 26, 2024

I've got the conda environment working on the other server :-) I'm having some trouble getting it to play nice when I try to activate the environment inside of submitted jobs, but otherwise running in command-line in the activated environment reproduces the tutorial figures

from flowsieve.

bastorer avatar bastorer commented on July 26, 2024

Hi Nora,

With the environment.yml and jupyter notebooks set up, is there anything else that you think needs to be addressed for this ticket?

Thanks!

from flowsieve.

NoraLoose avatar NoraLoose commented on July 26, 2024

Cool, I just tested the conda environment, and am able to run all python scripts. Closing this issue!

from flowsieve.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.