Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
python-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
nomad-lab
python-common
Commits
571aacb8
Commit
571aacb8
authored
7 years ago
by
Ihrig, Arvid Conrad (ari)
Browse files
Options
Downloads
Patches
Plain Diff
fixed bug in setting section references call
parent
26cf34e4
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/python/nomadcore/caching_backend.py
+1
-1
1 addition, 1 deletion
common/python/nomadcore/caching_backend.py
with
1 addition
and
1 deletion
common/python/nomadcore/caching_backend.py
+
1
−
1
View file @
571aacb8
...
@@ -176,7 +176,7 @@ class CachingSectionManager(object):
...
@@ -176,7 +176,7 @@ class CachingSectionManager(object):
self
.
preOpened
=
preOpened
self
.
preOpened
=
preOpened
def
setSectionInfo
(
self
,
gIndex
,
references
):
def
setSectionInfo
(
self
,
gIndex
,
references
):
self
.
openSections
[
gIndex
].
references
=
[
reference
[
x
]
for
x
in
self
.
parentSectionNames
]
self
.
openSections
[
gIndex
].
references
=
[
reference
s
[
x
]
for
x
in
self
.
parentSectionNames
]
def
get_latest_section
(
self
):
def
get_latest_section
(
self
):
"""
Returns the latest opened section if it is still open.
"""
Returns the latest opened section if it is still open.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment