# How do I use functions in a project that are not registered in a package online

**URL:** <https://discourse.julialang.org/t/how-do-i-use-functions-in-a-project-that-are-not-registered-in-a-package-online/79205>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [April 8, 2022, 2:30am UTC](https://discourse.julialang.org/t/how-do-i-use-functions-in-a-project-that-are-not-registered-in-a-package-online/79205 "2022-04-08T02:30:18Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![xingxian](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xingxian/32/35310_2.png) [@xingxian](https://discourse.julialang.org/u/xingxian)\
**Post date:** [April 8, 2022, 2:30am UTC](https://discourse.julialang.org/t/how-do-i-use-functions-in-a-project-that-are-not-registered-in-a-package-online/79205/1 "2022-04-08T02:30:18Z")

</div>

I want to run code: [https://github.com/slimgroup/Software.SEG2021/tree/main/WavefieldRecoveryUQ.jl](https://github.com/slimgroup/Software.SEG2021/tree/main/WavefieldRecoveryUQ.jl)  
There was an error when I ran code test\_hint\_interpolation.ji in WavefieldRecoveryUQ:ERROR: LoadError: UndefVarError: put\_params!not defined

- I find put Params! This function exists on Github:[https://github.com/slimgroup/ConditionalNFs4Imaging.jl/blob/main/src/network/put\_param.jl](https://github.com/slimgroup/ConditionalNFs4Imaging.jl/blob/main/src/network/put_param.jl)

But ConditionalNFs4Imaging is not registered online. How can I use it?

---

<div class="post-metadata">

**Author:** ![xingxian](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xingxian/32/35310_2.png) [@xingxian](https://discourse.julialang.org/u/xingxian)\
**Post date:** [April 8, 2022, 2:32am UTC](https://discourse.julialang.org/t/how-do-i-use-functions-in-a-project-that-are-not-registered-in-a-package-online/79205/2 "2022-04-08T02:32:21Z")

</div>

I have tried the following:Git was used to download it locally

 ![UM_}`NG)OH5QWD_5UUL3M31](https://global.discourse-cdn.com/julialang/original/3X/f/1/f1bd4cc476f57550976c7b491a15a4157ff35303.png)

---

<div class="post-metadata">

**Author:** ![xingxian](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xingxian/32/35310_2.png) [@xingxian](https://discourse.julialang.org/u/xingxian)\
**Post date:** [April 8, 2022, 2:33am UTC](https://discourse.julialang.org/t/how-do-i-use-functions-in-a-project-that-are-not-registered-in-a-package-online/79205/3 "2022-04-08T02:33:46Z")

</div>

Then use  
 ![PJ49F)@(QT$J6_6}R4HJ@EM](https://global.discourse-cdn.com/julialang/original/3X/7/3/73a604a010b545c709dfb9887c5bdb2dc2c08e92.png)  
Found the UUID of ConditionalNFs4Imaging

---

<div class="post-metadata">

**Author:** ![xingxian](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xingxian/32/35310_2.png) [@xingxian](https://discourse.julialang.org/u/xingxian)\
**Post date:** [April 8, 2022, 2:34am UTC](https://discourse.julialang.org/t/how-do-i-use-functions-in-a-project-that-are-not-registered-in-a-package-online/79205/4 "2022-04-08T02:34:20Z")

</div>

Add its UUID to the project

 ![A%NO4PN26%A2{~OQX%7HNKW](https://global.discourse-cdn.com/julialang/original/3X/4/2/42de906c1be5fe317dd687e61aa9285adea3db5d.png)

---

<div class="post-metadata">

**Author:** ![xingxian](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xingxian/32/35310_2.png) [@xingxian](https://discourse.julialang.org/u/xingxian)\
**Post date:** [April 8, 2022, 2:35am UTC](https://discourse.julialang.org/t/how-do-i-use-functions-in-a-project-that-are-not-registered-in-a-package-online/79205/5 "2022-04-08T02:35:56Z")

</div>

Then package ConditionalNFs4Imaging was added in the project WavefieldRecoveryUQ.  
But it’s still the same mistake.

 ![ZC0T6W13)8842SC(V@Q18B](https://global.discourse-cdn.com/julialang/original/3X/b/8/b8803255123e8d53e0963d18facf979402e27146.png)

---

<div class="post-metadata">

**Author:** ![gustaphe](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gustaphe/32/18174_2.png) [@gustaphe](https://discourse.julialang.org/u/gustaphe)\
**Post date:** [April 8, 2022, 4:51am UTC](https://discourse.julialang.org/t/how-do-i-use-functions-in-a-project-that-are-not-registered-in-a-package-online/79205/6 "2022-04-08T04:51:10Z")

</div>

You can save yourself a lot of trouble by doing

```julia
]add https://repo.com/package.jl#master
```

---

<div class="post-metadata">

**Author:** ![xingxian](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xingxian/32/35310_2.png) [@xingxian](https://discourse.julialang.org/u/xingxian)\
**Post date:** [April 8, 2022, 6:24am UTC](https://discourse.julialang.org/t/how-do-i-use-functions-in-a-project-that-are-not-registered-in-a-package-online/79205/8 "2022-04-08T06:24:39Z")

</div>

Thank you,is that right

 ![image](https://global.discourse-cdn.com/julialang/original/3X/b/e/be76f2a1e132b058756fc2b853e5984372b95b73.png)

---

<div class="post-metadata">

**Author:** ![xingxian](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xingxian/32/35310_2.png) [@xingxian](https://discourse.julialang.org/u/xingxian)\
**Post date:** [April 8, 2022, 6:26am UTC](https://discourse.julialang.org/t/how-do-i-use-functions-in-a-project-that-are-not-registered-in-a-package-online/79205/9 "2022-04-08T06:26:45Z")

</div>

Or this?

 ![image](https://global.discourse-cdn.com/julialang/original/3X/3/5/350fa7f101397210c8d2d5d04df422f12b94b87f.png)

---

<div class="post-metadata">

**Author:** ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Post date:** [April 8, 2022, 6:45am UTC](https://discourse.julialang.org/t/how-do-i-use-functions-in-a-project-that-are-not-registered-in-a-package-online/79205/10 "2022-04-08T06:45:27Z")

</div>

> [@gustaphe](#):
>
> You can save yourself a lot of trouble by doing
> 
> `]add https://repo.com/package.jl#master`

He could have if it had been a package, but it’s not (no UUID in `Project.toml`).

> [@xingxian](#):
>
> But it’s still the same mistake.

If you want your local changes to have effect you want to `develop` rather than `add`.

---

<div class="post-metadata">

**Author:** ![xingxian](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xingxian/32/35310_2.png) [@xingxian](https://discourse.julialang.org/u/xingxian)\
**Post date:** [April 10, 2022, 9:09am UTC](https://discourse.julialang.org/t/how-do-i-use-functions-in-a-project-that-are-not-registered-in-a-package-online/79205/11 "2022-04-10T09:09:10Z")

</div>

I may be able to find a solution to this problem and those of you who need it can discuss it with me

Start by downloading it locally via Git

 ![UM_}`NG)OH5QWD_5UUL3M31](https://global.discourse-cdn.com/julialang/original/3X/f/1/f1bd4cc476f57550976c7b491a15a4157ff35303.png)

---

<div class="post-metadata">

**Author:** ![xingxian](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xingxian/32/35310_2.png) [@xingxian](https://discourse.julialang.org/u/xingxian)\
**Post date:** [April 10, 2022, 9:12am UTC](https://discourse.julialang.org/t/how-do-i-use-functions-in-a-project-that-are-not-registered-in-a-package-online/79205/12 "2022-04-10T09:12:17Z")

</div>

And then include put\_param’s path to E:\Julia1\Software.SEG2021\WavefieldRecoveryUQ.jl\src\WavefieldRecoveryUQ.jl

 ![6WM@Z82IA6C}RVVPCK{4S0K](https://global.discourse-cdn.com/julialang/original/3X/5/b/5b369c6cc8894d5de170cb86818c413b96e9dedf.png)
