We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 27a6d27 + 5f0c502 commit 77da6a6Copy full SHA for 77da6a6
src/easydiffraction/utils/utils.py
@@ -57,7 +57,7 @@ def download_from_repository(
57
base = 'https://raw.githubusercontent.com'
58
org = 'easyscience'
59
repo = 'diffraction-lib'
60
- branch = 'docs' # branch or DATA_REPO_BRANCH # Use the global branch variable if not provided
+ branch = branch or DATA_REPO_BRANCH # Use the global branch variable if not provided
61
path_in_repo = 'tutorials/data'
62
url = f'{base}/{org}/{repo}/refs/heads/{branch}/{path_in_repo}/{file_name}'
63
0 commit comments