# From notebook to structured project in Julia

**URL:** https://discourse.julialang.org/t/from-notebook-to-structured-project-in-julia/69200
**Category:** High Energy Physics
**Tags:** workflow, notebooks
**Created:** [October 4, 2021, 6:03pm UTC](https://discourse.julialang.org/t/from-notebook-to-structured-project-in-julia/69200 "2021-10-04T18:03:11Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![misha\_mikhasenko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/misha_mikhasenko/32/5060_2.png) [@misha\_mikhasenko](https://discourse.julialang.org/u/misha_mikhasenko)
#### Post date: [October 4, 2021, 6:03pm UTC](https://discourse.julialang.org/t/from-notebook-to-structured-project-in-julia/69200/1 "2021-10-04T18:03:11Z")

</div>

Last week I was talking to students about a workflow for moving code from a notebook to a structured project with `src/` , `scripts/` , … using an example resonance-pole analysis.

Just in case someone is interested, here is a link to the repository  
[https://github.com/mmikhasenko/RhoMesonLineshape](https://github.com/mmikhasenko/RhoMesonLineshape)

Feel free to drop your thoughts and experience with a similar problem. I did not talk about tests (tbh, I do not write them for small projects until some code branches out to a package).

---

<div class="post-metadata">

### Author: ![tamasgal](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamasgal/32/27946_2.png) [@tamasgal](https://discourse.julialang.org/u/tamasgal)
#### Post date: [October 5, 2021, 6:42am UTC](https://discourse.julialang.org/t/from-notebook-to-structured-project-in-julia/69200/2 "2021-10-05T06:42:13Z")

</div>

Nice one!

Btw. it would probably also good to advertise [DrWatson.jl](https://github.com/JuliaDynamics/DrWatson.jl) for managing scientific projects. I think it’s better to start with that for each project (no matter how tiny) since you will use good practices from the very beginning (relative paths, standardised structure etc.).
