sierrapor / TFG

0 stars 1 forks source link

Avoid local paths and large binaries in your code #1

Closed jesusff closed 10 months ago

jesusff commented 10 months ago

Well done, @sierrapor

just avoid writing your local path in the code of your notebooks/scripts. By default, python tries to find files in the current directory, so you can use relative paths. Also, it is not very efficient to store large binary files in github. The repository size increases by a large amount on every modification of this file. Given that the file you try to read is already available online, you could just download it within your code. This PR shows how to do it. Unfortunately, there is currently a problem with the URL so it cannot be downloaded 😕 I'll check on that

jesusff commented 10 months ago

The URL is back to life, so you could safely merge this pull request now